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