This instance couldn't reach its API specification on the last attempt, so this page shows the copy fetched before that. Anything added or changed since then is missing here, and the reference updates itself as soon as the specification is readable again. Last fetched 2026-11-12 05:58 UTC.
Setting the default flag moves it here from the previous default.
Signed in, you can send this request to your own sandbox merchant from the console
and read the answer.
Sign in to try it.
Example request
Every block below sends the same request. Replace {{BASE_URL}} with the address of the API you are calling and {{API_KEY}} with your own key.
The request body is a ShippingOriginUpdateDto. See the Request body section below for its fields.
Parameters
Name
In
Type
Description
idrequired
path
string (uuid)
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
suppressNullsrequired
query
boolean
If true, omit properties with null values.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Request body
application/json, required
Field
Type
Description
merchantIdrequired
string (uuid)
The merchant that owns this origin. Required on create, and immutable afterwards: an update
that names a different merchant is refused rather than silently moving the origin.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
namerequired
string
Operator-facing name of the location, for example "Main warehouse".nullablemax length 128
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
The ship-from address. Required: an origin with no address is not somewhere a parcel can ship
from. US addresses carry State and Zip; every other country carries Province and Postal Code.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Fields of Address:
Field
Type
Description
idrequired
string (uuid)
Gets the unique identifier for the address.read only
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
address1required
string
Gets or sets the first line of the address (e.g., street address).nullablemax length 100
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
address2required
string
Gets or sets the second line of the address (e.g., apartment, suite, unit, building, floor, etc.).nullablemax length 100
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
cityrequired
string
Gets or sets the city of the address.nullablemax length 100
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
staterequired
string
Gets or sets the state or region of the address.nullablemax length 100
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
provincerequired
string
Gets or sets the province of the address (if applicable).nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
ziprequired
string
Gets or sets the US ZIP code of the address (for example 12345 or 12345-6789).
Conditional: Conditional (see validator source). Pattern: ^\d{5}(-\d{4})?$.
Conditional: When IsUsCountry(Country) is false. Max length: 20.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
postalCoderequired
string
Gets or sets the international postal code of the address, for a country other than the US.nullablemax length 20
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
countryrequired
string
Gets or sets the country of the address. Defaults to "USA".nullablemax length 100
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
isMailingrequired
boolean
Gets or sets a value indicating whether this address is a mailing address.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
isDefaultrequired
boolean
Gets or sets a value indicating whether this address is the default address.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
This body has no documented fields.
phonerequired
string
An optional contact number for the location, which some carriers ask for when quoting.nullablemax length 32
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
isDefaultrequired
boolean
Whether this is the merchant's default origin. A merchant's first origin is the default
whatever this says; setting it on another origin moves the flag there. It cannot be switched
off on the current default while the merchant has other origins.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
concurrencyStamprequired
string
nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
This request body has no documented fields.
Responses
Errors
A failed request returns the platform error envelope. The
error reference lists every value
error.code can carry and shows the four response shapes.