Class CustomersApi

CustomersApi - object-oriented interface

Export

Hierarchy

  • BaseAPI
    • CustomersApi

Constructors

  • Parameters

    • Optional configuration: Configuration
    • basePath: string = BASE_PATH
    • axios: AxiosInstance = globalAxios

    Returns CustomersApi

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • Creates a Customer.

    Summary

    Create a Customer

    Throws

    Memberof

    CustomersApi

    Parameters

    Returns Promise<AxiosResponse<Customer, any>>

  • Deletes a Customer. This cannot be undone.

    Summary

    Delete a Customer

    Throws

    Memberof

    CustomersApi

    Parameters

    Returns Promise<AxiosResponse<object, any>>

  • Retrieves the details of an existing Customer.

    Summary

    Get a Customer

    Throws

    Memberof

    CustomersApi

    Parameters

    Returns Promise<AxiosResponse<Customer, any>>

  • Updates a Customer by setting the values of the provided parameters. Any parameters not provided will be left unchanged.

    Summary

    Update a Customer

    Throws

    Memberof

    CustomersApi

    Parameters

    Returns Promise<AxiosResponse<Customer, any>>

Generated using TypeDoc