PATCH
/
{storeId}
Update Store information (email, address, metadata)
curl --request PATCH \
  --url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId} \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "test@noreply.com",
  "mobile": "323-232-2323",
  "logo": "https://images.aasaan.shop/stores/logo/logo_1684500490812.png",
  "favicon": "https://images.aasaan.shop/stores/favicon/favicon_1684500490812.png",
  "metaData": {},
  "workingHours": [
    {
      "timeZone": "EDT",
      "days": [
        {
          "day": "Monday",
          "holiday": "Independence Day, Sunday, Monday",
          "times": [
            {
              "startTime": "10:00 AM",
              "endTime": "15:00 PM"
            }
          ]
        }
      ]
    }
  ],
  "address": {
    "aptNo": "123A 345",
    "line1": "Central Park East",
    "line2": "Central Park East",
    "city": "New York",
    "state": "New York",
    "zipcode": 10025,
    "country": "USA"
  },
  "seo": {
    "title": "seo title",
    "description": "seo description",
    "image": "https://images.lightbooks-dev.io/stores/automationtest7946886/seo/seo_1678560927290.jpeg"
  }
}'
{
  "id": "store-id-1",
  "storeName": "lunchbox",
  "email": "test@noreply.com",
  "currency": "USD",
  "storeUrl": "USD",
  "metaData": {},
  "address": {
    "aptNo": "123A 345",
    "line1": "Central Park East",
    "line2": "Central Park East",
    "city": "New York",
    "state": "New York",
    "zipcode": 10025,
    "country": "USA"
  }
}

Path Parameters

storeId
string
required

Store ID for this resource request

Body

application/json
email
string

Email associated with the store

Example:

"test@noreply.com"

mobile
string

Mobile number associated with the store

Example:

"323-232-2323"

Logo which appears on the website

Example:

"https://images.aasaan.shop/stores/logo/logo_1684500490812.png"

favicon
string

Favicon which appears on the website

Example:

"https://images.aasaan.shop/stores/favicon/favicon_1684500490812.png"

metaData
object

any additional metadata that was stored as a part of this store creation

workingHours
object[]

Gives the working hours on a given day. If you are specifying this - you will have to provide data for all seven days.

address
object

Address of the store

seo
object

Seo of the store

Response

Store Updated.

id
string

Unique identifier for the resource that was used to create this store

Example:

"store-id-1"

storeName
string

Name

Example:

"lunchbox"

email
string

Email associated with the store

Example:

"test@noreply.com"

currency
string

Base currency associated with this store

Example:

"USD"

storeUrl
string

The full store url that of the store that was created

Example:

"USD"

metaData
object

any additional metadata that was stored as a part of this store creation

address
object

Address of the store