C W S platform
Start hereReferenceDownloads
PTEN

API reference

    • Overview

API reference

Contracts

Endpoints to manage fixed-price contracts for customers or customer groups.

Store Management

  • POSTCreate Contract/priceContract
  • PUTUpdate Contract/pricing/contract/{contractId}
  • GETList Contracts/pricing/contract/list
  • PUTAdd Customers to the Contract/pricing/contract/{contractId}/customers
  • DELETERemove Customers from the Contract/pricing/contract/{contractId}/customers
  • PUTAdd Products to the Contract/pricing/contract/{contractId}/items
  • DELETERemove Products from the Contract/pricing/contract/{contractId}/items

Parent Account Management

  • POSTCreate Branch Contract/priceContract/store/{partnerId}
  • PUTUpdate Branch Contract/pricing/contract/{contractId}/store/{partnerId}
  • GETList Branch Contracts/pricing/contract/list/store/{partnerId}
  • PUTAdd Customers to the Branch Contract/pricing/contract/{contractId}/customers/store/{partnerId}
  • DELETERemove Customers from the Branch Contract/pricing/contract/{contractId}/customers/store/{partnerId}
  • PUTAdd Products to the Branch Contract/pricing/contract/{contractId}/items/store/{partnerId}
  • DELETERemove Products from the Branch Contract/pricing/contract/{contractId}/items/store/{partnerId}