This collection supports both the legacy API and the new REST API for Shipment Server.
https://documenter.getpostman.com/view/22736309/2s7ZE4NQsG
Environment configuration
To keep credentials, separate from the collection, create an environment. Alternatively, use the pre-included environment provided upon import.
In this article:
REST API - (Shipment Server API Version 2)
To use the REST API, configure the following environment variables:
URL
- Production: https://restapi.shipmentserver.com
- Test: https://demo.shipmentserver.com:8080
ID - The ID of the Actor
Authentication:
-
Bearer Token: Requires CLIENT_ID and CLIENT_SECRET
-
Basic Authentication: Requires USERNAME and PASSWORD
Example:
Use this request to setup the collection to uses the variables for bearer token authentication.
Use this request to setup the collection to uses the variables for basic authentication in all requests.
This outlines how the collection is configured to use a variable for authentication in every request.
How the requests use the pre-request to define the payload for the request
Legacy API (Shipment Server API Version 1):
To use the legacy API, configure the following environment variables:
URL
- Production - https://www.shipmentserver.com
- Test: - https://demo.shipmentserver.com
ID - The ID of the Actor
KEY - The KEY to the Actor
Example:
This outlines how the collection is configured to use a variable for authentication in every request.
How the requests use the pre-request to define the payload for the request
Ship REST API - 2.0 Examples
This collection is used by other articles.
https://helpcenter.nshift.com/hc/en-us/article_attachments/19895296538396