POST /label-payloads.json
Body Required
-
shippingRateCacheId integer(int32) | null
Shipping rate cache
-
Status
Values are
success
orerror
.
POST
/label-payloads.json
curl \
-X POST http://api.example.com/v1/label-payloads.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"payload":{},"rate":{},"response":{},"shippingRateCacheId":42,"status":"success"}'
Request example
{
"payload": {},
"rate": {},
"response": {},
"shippingRateCacheId": 42,
"status": "success"
}
Response examples (200)
{
"createdAt": "2024-05-04T09:42:00+00:00",
"id": 42,
"payload": {},
"rate": {},
"response": {},
"shippingRateCacheId": 42,
"status": "success",
"updatedAt": "2024-05-04T09:42:00+00:00"
}