patch https://sandbox.api.deliverysolutions.co/api/v2/store/storeExternalId/
Use this API to edit a location using the store external ID.
Edits a location using the store external ID assigned to a location.
Only the fields that need to be updated are required to be in the body.
The unique Delivery Solutions'
_id
can also be used in place of thestoreExternalId
. When doing so, directly provide the_id
after/store/
, withoutstoreExternalId
Response
Property | Type | Description |
---|---|---|
_id | string | Delivery Solutions' internal unique ID for the location. |
active | boolean | The pick up location can be marked as active or inactive using the true/false flag. Default is true (pickup location is enabled). |
name | string | Name of the pickup location. |
storeExternalId | string | Unique ID of the pickup location generated in your system and configured in our system. |
contact | Contact | The contact details for the location. Only the name and phone number fields are stored for a location. |
address | Address | Address of the pickup location. |
timeZone | string | Timezone in which the pickup location is present. |
currencyCode | string | ISO 4217 alphabetical code, e.g. USD . |
pickupInstructions | string | Pickup instructions for the pickup location. |
returnStoreId | string | The configured return ID for the pickup location, for when an order needs to be returned to a different location. |
DSPs | Array of Providers | List of providers configured for the pickup location. |
dspAttributes | Object containing Provider Config Attributes | Provider attributes configured for the pickup location, when necessary for certain providers. |
createdAt | string | The time when the pickup location was created in Delivery Solutions, in ISO 8601 format |
lastUpdatedAt | string | The time when the pickup location was last updated, in ISO 8601 format. |
additionalContacts | Array of Store Contact | Additional contact details for a store |
tags | Array of string | Identifiers that can be used for finding and sorting relevant information. |