Skip to content

ST26 - Validate shipments as ready to pick up

Request

Description

Limited to 1000 shipments at a time

Call Frequency
Maximum usage: On each shipment ready to pick up
Security
Front-Bearer-Token or OAuth-2
Bodyapplication/json
shipmentsArray of objects, [ 1 .. 1000 ] itemsrequired

Shipment ids

curl -i -X PUT \
  https://your-instance.mirakl.net/api/shipments/ready_for_pick_up \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "shipments": [
      {
        "id": "f40bf65e-a320-41d3-878c-36ce9e1144ce"
      },
      {
        "id": "c8ca3759-a81b-4abe-afd0-93a418e83ae8"
      },
      {
        "id": "ff341bfe-ebeb-4211-848b-77fcbcd91723"
      }
    ]
  }'

Responses

OK

Bodyapplication/json
shipment_errorsArray of objects

Shipment workflow update errors

shipment_successArray of objects

Shipment workflow update success

Response
{ "shipment_errors": [ { … } ], "shipment_success": [ { … }, { … } ] }