commerce
location

Update a location

Changed on
patch/commerce/{connection_id}/location/{id}

Request

  • Base URL: https://api.unified.to
  • URL: https://api.unified.to/commerce/{connection_id}/location/{id}
  • Auth: API key in header authorization

Path parameters

connection_idstring required

ID of the connection

idstring required

ID of the Location

Query parameters

fieldsstring[]

Fields to return

rawstring

Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar

Request body

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

namestring
descriptionstring
is_activeboolean
language_localestring
parent_idstring
currencystring
location_type'RESTAURANT' | 'SALON' | 'WAREHOUSE' | 'STORE' | 'OTHER'
ratingnumber
review_countnumber
price_levelstring
latitudenumber
longitudenumber
image_urlstring
web_urlstring
rawobject
categoriesstring[]

Response

Successful

idstring
created_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

updated_atstring date-time

(ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)

namestring
descriptionstring
is_activeboolean
language_localestring
parent_idstring
currencystring
location_type'RESTAURANT' | 'SALON' | 'WAREHOUSE' | 'STORE' | 'OTHER'
ratingnumber
review_countnumber
price_levelstring
latitudenumber
longitudenumber
image_urlstring
web_urlstring
rawobject
categoriesstring[]

Changes

    • info

      added the new optional request property

    • info

      added the enum value metadata to the property items/ of the query request parameter fields

    • info

      added the optional property to the response with the status