Update Retailer Ship-To Location
Updates a RetailerShipToLocation. If the resulting is_default=true, sibling
defaults under the same Retailer are atomically unset.
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.
Path Parameters
The id of the parent Retailer.
x >= 1The id of the referenced RetailerShipToLocation.
x >= 1Body
An object conforming to the RetailerShipToLocation schema to be merged.
A RetailerShipToLocation represents an EDI N1*ST destination
(distribution center, store, mark-for, drop-ship, or other) under a Retailer.
Unique location code within the parent Retailer + merchant.
1 - 64"DC-001"
Optional X12 location qualifier.
Optional Field
4"92"
Optional display label.
255"Bentonville DC"
Location type.
dc, store, mark_for, drop_ship, other "dc"
Optional company name.
Optional Field
255"Walmart DC"
Optional street address; may contain newlines.
Optional Field
Optional city.
Optional Field
255"Bentonville"
Optional Magento directory_country_region id. Reserved for future integration.
Optional Field
6
Optional free-form region (state/province).
Optional Field
255"AR"
Optional postal code.
Optional Field
32"72712"
Optional two-letter ISO country code. Normalized to uppercase by the server.
Optional Field
2"US"
Optional telephone number.
Optional Field
32"+1-479-273-4000"
Optional email address.
Optional Field
255"dc6045@example.com"
When true on save, sibling default locations under the same Retailer are atomically unset.
true
Location lifecycle status.
active, inactive "active"
Parent Retailer reference. Set from the path; cannot be changed.
Response
OK - The operation completed successfully and there is no response body.