Skip to content

Add a parcel to a pending order

Request

Can only be performed on a pending order.

Security
bearerToken or oauthToken
Path
order_idstringrequired

The order id returned as order.id when the order was created.

Bodyapplication/json

The parcel to add.

namestringrequired

The parcel label. The only field this operation reads. A quantity of 2 is accepted and silently ignored, with the parcel created at quantity 1.

curl -i -X POST \
  'https://api.staging.quiqup.com/orders/{order_id}/parcels' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Example"
  }'

Responses

The new parcel, returned bare rather than wrapped in an order.

Bodyapplication/json
object
Response
{}