POST /dropship-purchase-imports.json
Body Required
-
Dropship provider
-
Duoplane password
-
Duoplane username
-
Enabled
Default value is
true
. -
Import schedule
Values are
daily
,hourly
, ormanual
. Default value ismanual
. -
lastImportedAt string(date-time) | null
Last imported at
POST /dropship-purchase-imports.json
curl \
-X POST http://api.example.com/v1/dropship-purchase-imports.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"dropshipProviderId":42,"duoplanePassword":"string","duoplaneUsername":"string","enabled":true,"importSchedule":"manual","lastImportedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
"dropshipProviderId": 42,
"duoplanePassword": "string",
"duoplaneUsername": "string",
"enabled": true,
"importSchedule": "manual",
"lastImportedAt": "2024-05-04T09:42:00+00:00"
}
Response examples (200)
{
"createdAt": "2024-05-04T09:42:00+00:00",
"dropshipProviderId": 42,
"duoplanePassword": "string",
"duoplaneUsername": "string",
"enabled": true,
"id": 42,
"importSchedule": "manual",
"lastImportedAt": "2024-05-04T09:42:00+00:00",
"updatedAt": "2024-05-04T09:42:00+00:00"
}