API reference · Contracts

List Contracts

GEThttps://api.sandbox.cws.digital/pricing/contract/list

Description

Lists the price contracts of your store, from the most recent to the oldest, with pagination.

The listing returns the header of each contract. The customers and products of a contract do not come here.

Parameters

Query parameters

FieldTypeRequiredDescriptionValue
limitintegerNo

Contracts per page. Default 20, maximum 50. Above the maximum, the maximum applies.

offsetintegerNo

How many contracts to skip. Default 0.

Responses

Try it

Sandbox

Language

Credentials

Access token: saved in this tab and used on every endpoint.

Each token only reaches the partner's own data and that of the branches with an authorized link.

Don't have sandbox credentials yet? See how to request them

Request

cURL
curl --request GET \
  --url 'https://api.sandbox.cws.digital/pricing/contract/list' \
  --header 'Authorization: Bearer <access_token>'

Response

Click Try it to see the real response here, or pick a documented example: