Confirm pack is completed

POST REST API request for merchants, requiring a JSON body and an authorization token, in order to confirm packing is completed and that a shipment should be created.

Request

HTTP MethodPOST
URLStagehttps://api.stage.ananastest.com/order/api/v1/merchant-integration/outbound-orders/{suborderId}/pack
Productionhttps://api.ananas.rs/order/api/v1/merchant-integration/outbound-orders/{suborderId}/pack
HTTP Headers
Header nameHeader value
AuthorizationBearer {access_token}

Example of the request

JSON:

Click to copy
Success!
  {
    "numberOfBoxes": 1,
    "products": [
      {
        "id": 2,
        "quantity": 2,
      },
      {
        "id": 3,
        "quantity": 3,
      },
    ],
  }

Response

The endpoint will return status 204 - No Content.

Copyright © Ananas 2023. All right reserved.