Update Location
Replaces all editable fields of an existing location. PUT is a full object update — any fields you omit will be reset to their defaults, so always send the complete object you want stored.
Endpoint
PUT /Locations/{id}
Path parameters
id
string
Yes
The locationId returned when the location was created
Request headers
X-Api-Key
{adminApiKey}
Content-Type
application/json
Accept
application/json
Request body
name
string
Yes
Display name shown in dashboards
address
object
Yes
Provide the full address block even if only one field changed
businessType
string
Yes
physical, virtual, or both
merchantCategoryCode
string
Yes
Four digit MCC such as 5812
additionalMerchantCategoryCodes
array<string>
Yes
Can be an empty array
descriptionOfServices
string
Yes
What the merchant sells or provides
grossAnnualVolume
number
Yes
Estimated annual processing volume
averageTicketSize
number
Yes
Typical transaction amount
maximumTicketSize
number
Yes
Maximum expected transaction amount
contactPhone
string
Yes
E.164 or local format accepted
contactEmail
string
Yes
Contact inbox for the location
website
string or null
No
Required when businessType is virtual or both. Send null for physical locations
tenderTypes
array<string>
No
Pass an empty array [] to inherit merchant defaults
highestMonthlyVolume
number or null
No
Peak expected monthly volume if known
externalId
string or null
No
Optional external reference for your system
Note: maxTransactionAmount is not used at the location level. Use averageTicketSize and maximumTicketSize instead.
Address object
address1
string
Yes
Street line one
address2
string
No
Suite, floor, unit
city
string
Yes
City or locality
region
string
Yes
State or province such as MA
country
string
Yes
ISO 3166-1 alpha-2 such as US
postalCode
string
Yes
ZIP or postal code
Example request
Successful response — 200
Immutable fields
id, merchantId, and timestamp fields cannot be changed. Any attempt returns a 400 error.
Error responses
400
Missing required fields, immutable field modified, or validation error
401
Missing or invalid API key
403
Not permitted to update this location
404
Location {id} does not exist or is not visible to your key
409
Duplicate address already used by another location for this merchant
500
Unexpected server error
Best practices
Fetch the current object first, update locally, then send the full object back. This prevents accidentally nulling fields you didn't intend to change.
Use
PUT /Locations/{id}/enabledto disable a location before making large updates in production.Use the
updatedtimestamp for audit trails and cache invalidation.Use clear, consistent location names — city and store number makes support lookups easier.
Related pages
Last updated