PUT /dropshipment-imports/{id}.json
Path parameters
-
id
integer(int64) Required Numeric ID of the instance
Minimum value is
1
.
Body
Required
-
createdAt
string(date-time) Created at
-
dropshipProviderId
integer(int32) | null Dropship provider
-
dropshipmentId
integer(int32) | null Dropshipment
-
id
integer(int32) Id
-
purchaseId
integer(int32) | null Purchase
-
status
string | null Status
Values are
error
,success
, orskipped
. -
updatedAt
string(date-time) Updated at
PUT
/dropshipment-imports/{id}.json
curl \
-X PUT http://api.example.com/v1/dropshipment-imports/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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"}'
Request example
{
"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"
}