Duplicate Delivery
POSThttps://api.goodsdelivery.io/v1/deliveries/duplicate
Authorization: x-api-key
name: x-api-keytype: apiKeyscopes: brand
in: header
Duplicate Delivery
Request
- application/json
Body
required
Request body
brandId stringrequired
externalId stringrequired
Responses
- 201
- 400
Created
- application/json
- Schema
- Example (from schema)
Schema
success booleanrequired
object objectrequired
{
"success": true,
"object": {
"id": "string",
"shortId": "string",
"trackingUrl": "string",
"labelUrl": "string"
}
}
Bad request
- application/json
- Schema
- Example (from schema)
Schema
message stringrequired
Human readable error message.
code stringrequired
Machine readable error message.
more url
More help on the error here.
{
"message": "string",
"code": "string",
"more": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST 'https://api.goodsdelivery.io/v1/deliveries/duplicate' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'x-api-key: <API_KEY_VALUE>' \
--data-raw '{
"brandId": "string",
"externalId": "string"
}'
ResponseClear