Function CustomersApiFactory

  • CustomersApi - factory interface

    Export

    Parameters

    • Optional configuration: Configuration
    • Optional basePath: string
    • Optional axios: AxiosInstance

    Returns {
        createCustomer(requestParameters, options?) => AxiosPromise<Customer>;
        deleteCustomer(requestParameters, options?) => AxiosPromise<object>;
        getCustomer(requestParameters, options?) => AxiosPromise<Customer>;
        listCustomers(requestParameters, options?) => AxiosPromise<ListCustomers200Response>;
        updateCustomer(requestParameters, options?) => AxiosPromise<Customer>;
    }

    • createCustomer:function
    • deleteCustomer:function
      • Deletes a Customer. This cannot be undone.

        Summary

        Delete a Customer

        Throws

        Parameters

        Returns AxiosPromise<object>

    • getCustomer:function
      • Retrieves the details of an existing Customer.

        Summary

        Get a Customer

        Throws

        Parameters

        Returns AxiosPromise<Customer>

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

        Summary

        Update a Customer

        Throws

        Parameters

        Returns AxiosPromise<Customer>

Generated using TypeDoc