Update shipment status

API specification

This endpoint is only available for the sandbox environment!

When implementing the MyParcel.com API using the sandbox environment, you might want to simulate realistic shipment behavior like changing a shipment’s status. Because the sandbox environment doesn’t actually allow users to send a shipment, shipments will never receive a status update from the carrier, indicating that it is on the way or has been delivered etc. To simulate this behavior, the sandbox environment describes an RPC endpoint that allows users to manually update the status of a shipment.


Required Scope: shipments.manage

Attribute Type Required
shipment_id uuid formatted string
status_id uuid formatted string

This endpoint allows a user to create a new shipment-status consisting of the posted shipment and status.

The MyParcel.com API contains several resources that are not related to shipments. When calling the /update-shipment-status endpoint, please make sure the posted status is a shipment related status (indicated by the status resource_type attribute).

POST /suggest-address HTTP/1.1
Example: https://sandbox-api.myparcel.com/update-shipment-status
  "data": {
    "shipment_id": "3bba2b2e-453f-4e89-bff9-018e06efa5a6",
    "status_id": "8b384f97-5161-47fb-91c9-4731e4d10ab1"


The API will respond with status 204 No Content, indicating that no content is returned, but the update has taken place.