Merchant Header

For any request you make that could involve results from multiple merchants, or for endpoint that require a merchant to be selected, use the X-Selected-Client-Id header with the merchant ID as the value of the header.

X-Selected-Client-Id: 405

For example, if you would like a list of all outbound shipments but only for a specific merchant, passing their merchant ID in the X-Selected-Client-Id parameter will only return shipments related to that merchant.

By default, results requested by a service provider will contain records related to all merchants.

Note: Merchants making a request to the API almost always need to have this header set