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

Response

201
application/json

Store created.

The response is of type object.