Body
Required
-
agreementId
integer(int32) Required Agreement
-
dropshipProviderId
integer(int32) Required Dropship provider
files
object | null | array | boolean | integer | number | string Files
-
filesRequired
boolean | null Required Files required
Default value is
false
. -
status
string | null Required Status
Values are
pending
,agreed
,declined
, orcancelled
. Default value ispending
.
POST
/dropship-provider-agreements.json
curl \
--request POST 'http://api.example.com/v1/dropship-provider-agreements.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"agreementId":42,"dropshipProviderId":42,"files":{},"filesRequired":false,"status":"pending"}'
Request examples
{
"agreementId": 42,
"dropshipProviderId": 42,
"files": {},
"filesRequired": false,
"status": "pending"
}
Response examples (200)
{
"agreementId": 42,
"createdAt": "2025-05-04T09:42:00Z",
"dropshipProviderId": 42,
"files": {},
"filesRequired": false,
"id": 42,
"status": "pending",
"updatedAt": "2025-05-04T09:42:00Z"
}