POST /dropship-provider-shipping-fields.json
Body Required
-
Column type
Values are
attribute
orplaceholder
. Default value isattribute
. -
Dropship provider
-
Enabled
Default value is
true
. -
name string | null
Name
-
purpose string | null
Purpose
Values are
channelReference
,internalReference
,invoiceAmount
,price
,reference
,serviceLevel
,sku
,quantity
,trackingCompany
,trackingNumber
, orvendorExternalId
.
POST /dropship-provider-shipping-fields.json
curl \
-X POST http://api.example.com/v1/dropship-provider-shipping-fields.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"columnType":"attribute","dropshipProviderId":42,"enabled":true,"name":"string","purpose":"channelReference"}'
Request example
{
"columnType": "attribute",
"dropshipProviderId": 42,
"enabled": true,
"name": "string",
"purpose": "channelReference"
}
Response examples (200)
{
"columnType": "attribute",
"createdAt": "2024-05-04T09:42:00+00:00",
"dropshipProviderId": 42,
"enabled": true,
"id": 42,
"name": "string",
"purpose": "channelReference",
"updatedAt": "2024-05-04T09:42:00+00:00"
}