C W S platform
Start hereReferenceDownloads
PTEN

API reference

    • Overview

API reference

Customers

Services for the complete management of customer registration data, their addresses and groups.

Customer Management

  • GETGet Customer by Document/v1/customer/document/{document}
  • POSTCreate New Customer/v1/customer
  • PUTUpdate Customer Registration Data/v1/customer/{document}
  • PUTActivate or Deactivate Customer/customer/updateStatus/{document}/{active}

Addresses

  • POSTAdd Address to Customer/customer/{document}/address
  • DELETERemove Customer Address/customer/{document}/address/{addressId}
  • DELETERemove All Customer Addresses/deleteAllCustomerAddress/{document}

Customer Groups

  • GETList Customer GroupsIn homologation/customer/group/byGroup
  • POSTCreate Customer Group/customer/group
  • DELETEDelete Customer Group/customer/group
  • PUTLink Customer to a Group/customer/{document}/priceType/{customerGroupId}
  • DELETEUnlink Customer from a Group/customer/{document}/priceType/{customerGroupId}