Retrieve information about a specific direct contract by passing its id as a path parameter.
Basic Authentication using API key and secrets is currently the main authentication mechanism.
The id of the contract you want to retrieve.
The carrier you want to filter for, for instance: postnl. You can find available carriers in your Sendcloud account settings.
Filter contracts based on the status.
Filter direct contracts based on the client id.
Filter direct contracts based on the contract's name.
OK
User contract
Unique identifier of the contract.
x >= 1Client ID of a contract
Contract's status
A custom name set by the user used to identify this contract throughout the platform.
50The country of the contract, as an ISO 3166-1 alpha-2.
"NL"
Indicates if the contract is marked as default. When you have multiple active direct contracts for the same carrier, default indicates that the contract will be prioritized over the other direct contracts for the same carrier, when no contract is explicitly mentioned while creating a parcel. You can have only one default direct contract per carrier and it will always be False for the broker and subbroker.