POST /dropshipment-imports.json
Body Required
-
dropshipProviderId integer(int32) | null
Dropship provider
-
dropshipmentId integer(int32) | null
Dropshipment
-
purchaseId integer(int32) | null
Purchase
-
status string | null
Status
Values are
error
,success
, orskipped
.
POST
/dropshipment-imports.json
curl \
-X POST http://api.example.com/v1/dropshipment-imports.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"dropshipProviderId":42,"dropshipmentId":42,"problem":{},"purchaseId":42,"response":{},"status":"error"}'
Request example
{
"dropshipProviderId": 42,
"dropshipmentId": 42,
"problem": {},
"purchaseId": 42,
"response": {},
"status": "error"
}
Response examples (200)
{
"createdAt": "2024-05-04T09:42:00+00:00",
"dropshipProviderId": 42,
"dropshipmentId": 42,
"id": 42,
"problem": {},
"purchaseId": 42,
"response": {},
"status": "error",
"updatedAt": "2024-05-04T09:42:00+00:00"
}