GETTING STARTED
Store
Custom Domain
Category
Brand
Tag
Store Front
Create or update multiple products.
Create a new product or update existing product with this PUT operation.
curl --request PUT \
--url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId}/products \
--header 'Content-Type: application/json' \
--data '[
{
"id": "ae7219",
"name": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo",
"salesPrice": 543,
"regularPrice": 543,
"quantity": 100,
"weight": 2,
"categoryInformation": [
"breakfast menu"
],
"tagInformation": [
"vegan"
],
"description": "Now, ensure the good health of your hair with Head & Shoulders Anti Hairfall Anti Dandruff Shampoo that strengthens hair from its roots and cures dandruff. Be it dry, frizzy, or damaged, this shampoo can bring back the younger days of your hair within just a few days. The shampoo is richly indulgent and improves the experience of washing your hair. It makes your hair dandruff-free up to 100%. Do not fret over chemicals as the product is gentle in use and can be used every day.",
"shortDescription": "Anti Dandruff Shampoo that strengthens hair from its roots and cures dandruff",
"hide": false,
"active": true,
"outOfStock": false,
"displayOrder": 1,
"width": 100,
"height": 200,
"depth": 20,
"isShippingEnabled": true,
"seo": {
"title": "Head and Shoulders",
"description": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo that strengthens hair",
"image": {
"url": "https://images.aasaan.app/123412421",
"type": "image/png"
}
},
"images": [
{
"id": 0,
"url": "https://images.aasaan.app/123412421",
"type": "https://images.aasaan.app/123412421"
}
],
"brandInformation": "Nike",
"metaData": {},
"variantAttributeValues": [
{
"name": "color",
"value": [
"blue, yellow, green"
]
}
]
}
]'
{
"products": [
{
"id": "623d3455ec3c4b3548eb4a343",
"name": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo",
"slug": "head_shoulders_anti_hairfall_anti_dandruff_shampoo_650_ml_22",
"salesPrice": 543,
"regularPrice": 543,
"quantity": 1,
"description": "Now, ensure the good health of your hair with Head & Shoulders Anti Hairfall Anti Dandruff Shampoo that strengthens hair from its roots and cures dandruff. Be it dry, frizzy, or damaged, this shampoo can bring back the younger days of your hair within just a few days. The shampoo is richly indulgent and improves the experience of washing your hair. It makes your hair dandruff-free up to 100%. Do not fret over chemicals as the product is gentle in use and can be used every day.",
"shortDescription": "Anti Dandruff Shampoo that strengthens hair from its roots and cures dandruff",
"hide": false,
"active": true,
"outOfStock": false,
"displayOrder": 1,
"width": 100,
"height": 200,
"depth": 20,
"weight": 500,
"isShippingEnabled": true,
"isVariantEnabled": true,
"variantAttributeValues": [
{
"name": "color",
"value": [
"blue, yellow, green"
]
}
],
"seo": {
"title": "Head and Shoulders",
"description": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo that strengthens hair",
"image": {
"url": "https://images.aasaan.app/123412421",
"type": "image/png"
}
},
"categories": [
{
"id": "1231231",
"name": "Shampoos and Soaps"
}
],
"images": [
{
"id": 0,
"url": "https://images.aasaan.app/123412421",
"type": "image/png"
}
],
"brand": {
"id": "636f2e876e9de14bfe1b02fa",
"name": "P&G"
},
"metaData": {},
"variants": [
{
"id": "567152378158871683",
"name": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo 600ml",
"salesPrice": 800,
"regularPrice": 800,
"quantity": 10,
"description": "",
"shortDescription": "",
"hide": false,
"active": true,
"outOfStock": false,
"width": 10,
"height": 10,
"depth": 10,
"weight": 10,
"isShippingEnabled": true,
"images": [
{
"id": 0,
"url": "https://images.aasaan.app/123412421",
"type": "image/png"
}
],
"date_created": "2022-03-25T03:17:44.092Z",
"date_modified": "2022-06-10T07:51:12.510Z"
}
],
"date_created": "2022-03-25T03:17:44.092Z",
"date_modified": "2022-06-10T07:51:12.510Z"
}
],
"errors": [
"Product with ProductId - product-id-1 is missing categories"
]
}
Path Parameters
Store ID for this resource request
Body
id
"ae7219"
Name
"Head & Shoulders Anti Hairfall Anti Dandruff Shampoo"
Sales price
543
Actual price
543
Product quantity
100
Weight(kg)
2
Associated Categories
The id of the category that's associated
Associated tags
The id of the tag that needs to be associated with this product
Product description
"Now, ensure the good health of your hair with Head & Shoulders Anti Hairfall Anti Dandruff Shampoo that strengthens hair from its roots and cures dandruff. Be it dry, frizzy, or damaged, this shampoo can bring back the younger days of your hair within just a few days. The shampoo is richly indulgent and improves the experience of washing your hair. It makes your hair dandruff-free up to 100%. Do not fret over chemicals as the product is gentle in use and can be used every day."
Product short description
"Anti Dandruff Shampoo that strengthens hair from its roots and cures dandruff"
Hide this product
false
Active indicator
true
Out of stock product
false
Display Order within the category
1
Width(cm)
100
Height(cm)
200
Depth(cm)
20
Enable to enter shipping details
true
SEO metadata for this product
SEO Title
"Head and Shoulders"
SEO Description
"Head & Shoulders Anti Hairfall Anti Dandruff Shampoo that strengthens hair"
Brand
"Nike"
Any additional meta data that needs to be stored as a part of this entity
Response
Unique identifier for the resource that was used to create this product
"623d3455ec3c4b3548eb4a343"
Name
"Head & Shoulders Anti Hairfall Anti Dandruff Shampoo"
Slug
"head_shoulders_anti_hairfall_anti_dandruff_shampoo_650_ml_22"
Sales price
543
Actual price
543
Product quantity
1
Product description
"Now, ensure the good health of your hair with Head & Shoulders Anti Hairfall Anti Dandruff Shampoo that strengthens hair from its roots and cures dandruff. Be it dry, frizzy, or damaged, this shampoo can bring back the younger days of your hair within just a few days. The shampoo is richly indulgent and improves the experience of washing your hair. It makes your hair dandruff-free up to 100%. Do not fret over chemicals as the product is gentle in use and can be used every day."
Product short description
"Anti Dandruff Shampoo that strengthens hair from its roots and cures dandruff"
Hide this product
false
Active indicator
true
Out of stock product
false
Display Order within the category
1
Width(cm)
100
Height(cm)
200
Depth(cm)
20
Weight(kg)
500
Enable to enter shipping details
true
Enable to enter product variants
SEO metadata for this product
SEO Title
"Head and Shoulders"
SEO Description
"Head & Shoulders Anti Hairfall Anti Dandruff Shampoo that strengthens hair"
Any additional meta data that needs to be stored as a part of this entity
Images
Unique identifier for a variant
"567152378158871683"
Variant name
"Head & Shoulders Anti Hairfall Anti Dandruff Shampoo 600ml"
Sales price
800
Actual price
800
Variant quantity
10
Variant description
""
Variant short description
""
Hide this variant
false
Active indicator
true
Out of stock
false
Width(cm)
10
Height(cm)
10
Depth(cm)
10
Weight(kg)
10
Enable to enter shipping details
true
Created date
"2022-03-25T03:17:44.092Z"
Modified date
"2022-06-10T07:51:12.510Z"
Created date
"2022-03-25T03:17:44.092Z"
Modified date
"2022-06-10T07:51:12.510Z"
curl --request PUT \
--url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId}/products \
--header 'Content-Type: application/json' \
--data '[
{
"id": "ae7219",
"name": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo",
"salesPrice": 543,
"regularPrice": 543,
"quantity": 100,
"weight": 2,
"categoryInformation": [
"breakfast menu"
],
"tagInformation": [
"vegan"
],
"description": "Now, ensure the good health of your hair with Head & Shoulders Anti Hairfall Anti Dandruff Shampoo that strengthens hair from its roots and cures dandruff. Be it dry, frizzy, or damaged, this shampoo can bring back the younger days of your hair within just a few days. The shampoo is richly indulgent and improves the experience of washing your hair. It makes your hair dandruff-free up to 100%. Do not fret over chemicals as the product is gentle in use and can be used every day.",
"shortDescription": "Anti Dandruff Shampoo that strengthens hair from its roots and cures dandruff",
"hide": false,
"active": true,
"outOfStock": false,
"displayOrder": 1,
"width": 100,
"height": 200,
"depth": 20,
"isShippingEnabled": true,
"seo": {
"title": "Head and Shoulders",
"description": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo that strengthens hair",
"image": {
"url": "https://images.aasaan.app/123412421",
"type": "image/png"
}
},
"images": [
{
"id": 0,
"url": "https://images.aasaan.app/123412421",
"type": "https://images.aasaan.app/123412421"
}
],
"brandInformation": "Nike",
"metaData": {},
"variantAttributeValues": [
{
"name": "color",
"value": [
"blue, yellow, green"
]
}
]
}
]'
{
"products": [
{
"id": "623d3455ec3c4b3548eb4a343",
"name": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo",
"slug": "head_shoulders_anti_hairfall_anti_dandruff_shampoo_650_ml_22",
"salesPrice": 543,
"regularPrice": 543,
"quantity": 1,
"description": "Now, ensure the good health of your hair with Head & Shoulders Anti Hairfall Anti Dandruff Shampoo that strengthens hair from its roots and cures dandruff. Be it dry, frizzy, or damaged, this shampoo can bring back the younger days of your hair within just a few days. The shampoo is richly indulgent and improves the experience of washing your hair. It makes your hair dandruff-free up to 100%. Do not fret over chemicals as the product is gentle in use and can be used every day.",
"shortDescription": "Anti Dandruff Shampoo that strengthens hair from its roots and cures dandruff",
"hide": false,
"active": true,
"outOfStock": false,
"displayOrder": 1,
"width": 100,
"height": 200,
"depth": 20,
"weight": 500,
"isShippingEnabled": true,
"isVariantEnabled": true,
"variantAttributeValues": [
{
"name": "color",
"value": [
"blue, yellow, green"
]
}
],
"seo": {
"title": "Head and Shoulders",
"description": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo that strengthens hair",
"image": {
"url": "https://images.aasaan.app/123412421",
"type": "image/png"
}
},
"categories": [
{
"id": "1231231",
"name": "Shampoos and Soaps"
}
],
"images": [
{
"id": 0,
"url": "https://images.aasaan.app/123412421",
"type": "image/png"
}
],
"brand": {
"id": "636f2e876e9de14bfe1b02fa",
"name": "P&G"
},
"metaData": {},
"variants": [
{
"id": "567152378158871683",
"name": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo 600ml",
"salesPrice": 800,
"regularPrice": 800,
"quantity": 10,
"description": "",
"shortDescription": "",
"hide": false,
"active": true,
"outOfStock": false,
"width": 10,
"height": 10,
"depth": 10,
"weight": 10,
"isShippingEnabled": true,
"images": [
{
"id": 0,
"url": "https://images.aasaan.app/123412421",
"type": "image/png"
}
],
"date_created": "2022-03-25T03:17:44.092Z",
"date_modified": "2022-06-10T07:51:12.510Z"
}
],
"date_created": "2022-03-25T03:17:44.092Z",
"date_modified": "2022-06-10T07:51:12.510Z"
}
],
"errors": [
"Product with ProductId - product-id-1 is missing categories"
]
}