Before you start
You need the Sendcloudid of the service point selected for the shipment. Some service points also require a post number.
If you haven’t implemented service point selection yet, choose one of these approaches:
Find service points with the API
Use Service Points API v3 to find service points and integrate them into your own flow.
Integrate the hosted service point picker into your checkout
Add Sendcloud’s hosted picker and let customers choose a service point during checkout.
Find a shipping option
Use the Return a list of available shipping options endpoint to find shipping options that can deliver to the selected service point. Include the selected service pointid as to_service_point.id, together with the shipment details that affect shipping option availability, such as the origin, destination, and parcel weight.
Example request method and URL
Example request body
Example response body
postnl:pakjegemak when creating the shipment in the next section.
See Shipping options & quotes for more on filtering options, calculating quotes, and shipping functionalities.
Find shipping options before selecting a service point
Some flows retrieve available delivery options before a service point has been selected. In this case, omitto_service_point and filter shipping options using functionalities.last_mile instead.
For example, to find shipping options that support service point delivery:
Example request body
service_point is one of the supported last_mile values. Other values can be used for different delivery types,
including locker delivery and options that support either lockers or service points. See the Shipping Options API
reference for the available last_mile values.Create and announce the shipment
Use the Create and announce a shipment synchronously endpoint to create and announce the shipment. Include the selected service pointid in to_service_point.id and the shipping option code from Find a shipping option in ship_with.properties.shipping_option_code.
Example request method and URL
Example request body
id, such as a DHL PackStation. When a post number is required, pass it as to_address.po_box.
The hosted service point picker collects and returns the post number when needed.
If you implement your own selection flow with Service Points API v3, your integration needs to determine when a post number is required and obtain it separately.
The response includes the created shipment, the service point it will be delivered to, and a link to the label:
Example response body