Sandbox API development requirements
Before you start testing in Sandbox, you must develop the required API calls listed below.
The Intersoft API is a RESTful API that uses JSON messages. Your system must be able to send and receive JSON messages in the format described in this documentation.
ImportantBefore you send API requests to SAPIENT, you must authenticate them using a bearer token. For more information, refer to the Authentication section.
SAPIENT applies rate limits to all API requests. Your integration must be able to handle HTTP 429 responses when a rate limit is exceeded. For more information, refer to the API Rate Limiting section.
You must develop the following API calls:
ImportantYou must manifest your shipments before they enter the Royal Mail network. If you do not manifest your shipments, this may cause delivery delays, missing tracking information, missing customer notifications, surcharges, or other issues.
International Arrivals Containers (A-Scan) — Freight 2 Post customers only
The following API calls are mandatory for Freight 2 Post customers. You must manifest your Freight 2 Post shipments by container.
Create an International Arrivals Container and assign an ID or alias.
Get a list of your International Arrivals Containers.
Update details of an International Arrivals Container.
Allocate shipments to a container or remove them before manifesting.
Delete an International Arrivals Container.
Get the details of an International Arrivals Container.
NoteIf your servers are based in China, use the dedicated .cn API endpoints. Replace .net with .cn in the relevant endpoint URLs.
For example, when creating a new shipment, replace the https://api.intersoftsapient.net/v4/shipments/rm URL with https://api.intersoftsapient.cn/v4/shipments/rm.
Your integration should also support the .net endpoints as a backup.
Related guides
Updated 3 days ago
