Create Retailer
Creates a new Retailer.
Authorizations
Generate a JWT access token through a Custom Global Integration and provide it with each request in the Authorization header prefixed with "Bearer" and then a single space.
Body
An object conforming to the Retailer schema to be created.
A Retailer represents a B2B retail partner for a merchant, including fulfillment defaults and retailer-specific custom fields.
Unique retailer code within the merchant.
1 - 64"walmart"
Retailer display name.
1 - 255"Walmart"
Retailer lifecycle status.
active, on_hold, terminated "active"
Default fulfillment model used for this retailer.
wholesale, drop_ship, mixed "wholesale"
The merchant that owns this retailer.
Optional parent retailer reference. The parent must belong to the same merchant.
Optional Field
Legal retailer name.
Optional Field
255"Walmart Inc."
Doing-business-as name.
Optional Field
255"Walmart Marketplace"
Default duties payor for order-integration defaults.
Optional Field
shipper, recipient, third_party "recipient"
Default shipping method for order-integration defaults.
Optional Field
255"fedex_FEDEX_GROUND"
Shipping methods allowed when this retailer is selected.
Optional Field
["fedex_FEDEX_GROUND", "ups_GND"]Default shipping third-party billing group ID for order-integration defaults.
Optional Field
x >= 15
Free-form routing-guide notes.
Optional Field
65535Custom fields associated with the retailer in script format. Each field contains
a code and value, with additional properties depending on the field type.
Optional Field
{
"is_gift": { "value": true },
"order_details": { "value": "test details" },
"department": { "id": 3, "label": "Shipping" },
"priority_levels": [
{ "id": 1, "label": "Urgent" },
{ "id": 2, "label": "High" }
],
"cost_of_goods": { "amount": 156.99, "currency": "USD" },
"assigned_user": { "value": 42 }
}The date and time the retailer was created in RFC 3339 section 5.6 notation.
Optional Field
"2017-07-21T17:32:28Z"
The date and time the retailer was last updated in RFC 3339 section 5.6 notation.
Optional Field
"2017-07-21T17:39:43Z"