API reference · Contracts
List Branch Contracts
https://api.sandbox.cws.digital/pricing/contract/list/store/{partnerId}Description
Allows a parent account to list the price contracts of one of its branches, from the most recent to the oldest, with pagination.
The response is identical to that of the listing of your own store — the difference is the branch queried, which comes in the route and is validated against the links of your parent account.
Parameters
Path parameters
| Field | Type | Required | Description | Value |
|---|---|---|---|---|
| partnerId | integer | Yes | Id of the branch that owns the contract. It must be linked to the token's parent account. |
Query parameters
| Field | Type | Required | Description | Value |
|---|---|---|---|---|
| limit | integer | No | Contracts per page. Default 20, maximum 50. Above the maximum, the maximum applies. | |
| offset | integer | No | How many contracts to skip. Default 0. |
Responses
- 403
Branch not linked to your parent account.