POST /shipping-integrations.json
Body Required
-
Label endpoint
-
name string | null
Name
-
Rate endpoint
-
refundEndpoint string | null
Refund endpoint
-
trackingEndpoint string | null
Tracking endpoint
POST
/shipping-integrations.json
curl \
-X POST http://api.example.com/v1/shipping-integrations.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"labelEndpoint":"string","name":"string","rateEndpoint":"string","refundEndpoint":"string","trackingEndpoint":"string"}'
Request example
{
"labelEndpoint": "string",
"name": "string",
"rateEndpoint": "string",
"refundEndpoint": "string",
"trackingEndpoint": "string"
}
Response examples (200)
{
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"labelEndpoint": "string",
"name": "string",
"rateEndpoint": "string",
"refundEndpoint": "string",
"trackingEndpoint": "string",
"updatedAt": "2024-05-04T09:42:00+00:00"
}