Migrate from 2025-07 to 2026-01

The Base URL for the API has been updated. You must update the version in the URL path for all your API requests.

  • POST /fulfillments
  • PATCH /fulfillments/{id}
  • GET /fulfillments
  • GET /fulfillments/{id}
  • POST /fulfillments/{id}/update-status
  • POST /fulfillments/{id}/ship
  • Replace the ship endpoint: The POST /fulfillments/{id}/ship endpoint has been removed. You must update your integration to use PATCH /fulfillments/{id} instead. To achieve the same result (updating the status to shipped), send a request body containing {"status": "shipped"}.

  • Update trackings logic: The trackings object now enforces strict mutual exclusivity between two usage modes. You must review your code to ensure you are using the correct mode:

    • Reference Mode (Recommended): Pass the tracking ID which was created via the Tracking API. This mode links to a full tracking resource.
      • Action: If providing id, ensure tracking_number and slug are removed from the payload.
    • Inline Mode: Provide a tracking_number (and optional slug). This is strictly for record-keeping purposes and does not create an active tracking task; the system will not provide status updates for this number.
      • Action: If providing tracking_number, ensure id is removed from the payload.

    Note: Providing both id and tracking_number in the same object will now result in an error.

Migrate from legacy API to Versioned API

For all legacy API user (with the API URL https://api.aftership.com/commerce/v1), please visit 2024-04 migration guide for the detail instruction.