Update Shop Details

The Update Shop API allows developers to modify specific attributes of a shop using its unique identifier. This endpoint supports updating various fields based on the user’s request.

🔒

Requires write_shop access scope. More access scope

The Update Shop API enables update the details of a specific shop for a given shop id.

This API is especially useful for:

  1. Modifying a shop's basic information.
  2. Updating contact details and operational parameters.
  3. Managing shop profile configurations.

Note: The operation is scoped to a specific shop, identified by its unique domain prefix (shopdomain), ensuring all updates are applied to the correct store.

Request Parameters

Public Request Parameters

📘

Path Parameters

ParameterTypeRequiredDescriptionExample
shop_idstringrequiredThe unique identifier of the shopshop_123456

Body Parameters

ParameterTypeRequiredDescriptionExample
shopobjectrequiredThe shop object containing fields to update{...}
shop.customer_emailstringoptionalEmail address of the shop owner[email protected]

Response Description

Public Response Fields

📘

Success Response

ParameterTypeExampleDescription
codestringSuccessResponse status code
messagestringOperation result message
data.accountstringacc_123456Shop account identifier
data.address1string123 Main StreetPrimary address line
data.address2stringSuite 456Secondary address line
data.citystringNew YorkCity name
data.country_codestringUSISO country code
data.created_atstring2024-04-23T09:32:57+08:00Creation timestamp
data.currencystringUSDShop currency
data.customer_emailstring[email protected]Shop owner email
data.domainstringshop.example.comCustom domain
data.emailstring[email protected]Shop email
data.icon.altstringShop logoIcon alternative text
data.icon.pathstring/images/shop-icon.pngIcon file path
data.icon.srcstringhttps://cdn.example.com/shop-icon.pngIcon URL
data.idinteger123456Shop ID
data.namestringMy Awesome ShopShop name
data.phonestring+1234567890Contact phone number
data.primary_localestringen-USPrimary locale
data.province_codestringNYState/province code
data.root_urlstringhttps://shop.example.comShop root URL
data.shop_ownerstringJohn DoeShop owner name
data.statestringNew YorkState/province name
data.system_domainstringexample.myshoplaza.comSystem domain
data.timezonestringAmerica/New_YorkShop timezone
data.updated_atstring2024-04-23T09:32:57+08:00Last update timestamp
data.zipstring10001ZIP/postal code

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message
Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!