Create Location

Use this API to create a location.

📘

  • The storeExternalId must be unique since it's used to identify the pickup location. Several of our APIs use this id to associate the pickup location for a specific operation.
  • Pickup instructions can be overridden at the order level while placing an order.
  • Multiple providers can be assigned to a location.

Response

PropertyTypeDescription
_idstringDelivery Solutions' internal unique ID for the location.
activebooleanThe pickup location can be marked as active or inactive using the true/false flag. Default is true (pickup location is enabled).
namestringName of the pickup location.
storeExternalIdstringIt's a unique id by which your systems can identify the pickup location. Most of our APIs use this id to associate the pickup location for a specific operation..
contactContactThe contact details for the location. Only the name, phone number and email fields are stored for a location.
addressAddressAddress of the pickup location.
timeZonestringTimezone in which the pickup location is present. This is calculated based on the address that you have provided.
currencyCodestringISO 4217 alphabetical code, e.g. USD.
pickupInstructionsstringPickup instructions for the pickup location.
returnStoreIdstringThe configured return ID for the pickup location, for when an order needs to be returned to a different location.
DSPsArray of ProvidersList of providers configured for the pickup location.
dspAttributesObject containing Provider Config AttributesProvider attributes configured for the pickup location, when necessary for certain providers.
createdAtstringThe time when the pickup location was created in Delivery Solutions, in ISO 8601 format
lastUpdatedAtstringThe time when the pickup location was last updated, in ISO 8601 format.
additionalContactsArray of Store ContactAdditional contact details for a store
tagsArray of stringIdentifiers that can be used for finding and sorting relevant information.
Language
Authorization
Click Try It! to start a request and see the response here!