POST
/
{storeId}
curl --request POST \
  --url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId} \
  --header 'Content-Type: application/json' \
  --data '{
  "storeName": "lunchbox",
  "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",
  "currency": "USD",
  "templateName": "Restaurant Template",
  "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
storeName
string
required

Name

email
string

Email associated with the store

mobile
string

Mobile number associated with the store

logo
string

Logo which appears on the website

favicon
string

Favicon which appears on the website

currency
string
required

Base currency associated with this store

templateName
string
required

Template that needs to be used in this store creation to setup home page and other assets

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
required

Address of the store

seo
object

Seo of the store

Response

201 - application/json
id
string

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

storeName
string

Name

email
string

Email associated with the store

currency
string

Base currency associated with this store

storeUrl
string

The full store url that of the store that was created

metaData
object

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

address
object

Address of the store