- Connect to Shopify
- Connect to Bigcommerce
- GETGet all categories.
- POSTCreate a new category.
- GETGet a category by Id.
- PUTPut a category.
- DELDelete a Category.
- PATCHUpdate a category.
- PUTPut multiple categories
- GETGet all brands.
- PUTPut a multiple brands
- POSTCreate a new brand.
- GETGet a brand by Id.
- PUTPut a brand.
- DELDelete a brand.
- PATCHUpdate a brand.
Category
Brand
Create or update multiple products.
Create a new product or update existing product with this PUT operation.
curl --request PUT \
--url https://api.aasaan.shop/api/v1/stores/products \
--header 'Content-Type: application/json' \
--data '[
{
"id": "ae7219",
"name": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo",
"quantity": 100,
"weight": 2,
"prices": [
{
"channelId": "636f2e876e9de14bfe1b02f1",
"salesPrice": "45",
"regularPrice": "50",
"hide": true
}
],
"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",
"active": true,
"outOfStock": true,
"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": "<string>",
"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",
"sku": "000-000-000-000",
"name": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo",
"slug": "head_shoulders_anti_hairfall_anti_dandruff_shampoo_650_ml_22",
"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",
"active": true,
"outOfStock": true,
"width": 100,
"height": 200,
"depth": 20,
"weight": 500,
"prices": [
{
"channelId": "636f2e876e9de14bfe1b02f1",
"salesPrice": "45",
"regularPrice": "50",
"hide": true
}
],
"isShippingEnabled": true,
"isProductLevelTaxEnabled": true,
"tax": {
"CGST": 2,
"SGST": 2,
"GST": 4
},
"isVariantEnabled": 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"
}
},
"categories": [
{
"id": "1231231",
"name": "Shampoos and Soaps"
}
],
"images": [
{
"id": "<string>",
"url": "https://images.aasaan.app/123412421",
"type": "image/png"
}
],
"variantAttributeValues": [
{
"name": "color",
"value": [
"blue, yellow, green"
]
}
],
"brand": {
"id": "636f2e876e9de14bfe1b02fa",
"name": "P&G"
},
"variants": [
{
"id": "567152378158871683",
"name": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo 600ml",
"quantity": 10,
"description": "<string>",
"shortDescription": "<string>",
"active": true,
"outOfStock": true,
"width": 10,
"height": 10,
"depth": 10,
"weight": 10,
"isShippingEnabled": true,
"isProductLevelTaxEnabled": true,
"images": [
{
"id": "<string>",
"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"
]
}
Body
id
Name
Product quantity
Weight(kg)
Price Information across various channels
ID of the channel for which price is being specified
Current Selling Price
Actual Price - should be greater than on equal to salesPrice
Hides the product in the channel
Associated Categories
Associated tags
Product description
Product short description
Active indicator
Out of stock product
Display Order within the category
Width(cm)
Height(cm)
Depth(cm)
Enable to enter shipping details
SEO metadata for this product
SEO Title
SEO Description
SEO Image
Image URL
Mime Type
Product images
Image identifier
Image URL
Mime Type
Brand
Any additional meta data that needs to be stored as a part of this entity
All Possible Variant Attribute Values that this parent product can have
Name of the variant attribute
List of all possible values that this attribute can have as variants
Response
Unique identifier for the resource
Stock keeping Unit
Name
Slug
Product quantity
Product description
Product short description
Active indicator
Out of stock product
Width(cm)
Height(cm)
Depth(cm)
Weight(kg)
Price Information across various channels
ID of the channel for which price is being specified
Current Selling Price
Actual Price - should be greater than on equal to salesPrice
Hides the product in the channel
Enable to enter shipping details
Enable to enter CGST and SGST taxes
Tax information for this product
Central Goods and Service tax (%)
Stage Goods and Service tax (%)
Overall Goods and Service tax (%)
Enable to enter product variants
SEO metadata for this product
SEO Title
SEO Description
SEO Image
Image URL
Mime Type
Associated Categories
id
name
Product images
Image identifier
Image URL
Mime Type
All Possible Variant Attribute Values that this parent product can have
Name of the variant attribute
List of all possible values that this attribute can have as variants
Brand
id
name
Images
Unique identifier for a variant
Variant name
Variant quantity
Variant description
Variant short description
Active indicator
Out of stock
Width(cm)
Height(cm)
Depth(cm)
Weight(kg)
Enable to enter shipping details
Enable to enter CGST and SGST taxes
Variant images
Image identifier
Image URL
Mime Type
Created date
Modified date
Created date
Modified date
curl --request PUT \
--url https://api.aasaan.shop/api/v1/stores/products \
--header 'Content-Type: application/json' \
--data '[
{
"id": "ae7219",
"name": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo",
"quantity": 100,
"weight": 2,
"prices": [
{
"channelId": "636f2e876e9de14bfe1b02f1",
"salesPrice": "45",
"regularPrice": "50",
"hide": true
}
],
"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",
"active": true,
"outOfStock": true,
"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": "<string>",
"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",
"sku": "000-000-000-000",
"name": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo",
"slug": "head_shoulders_anti_hairfall_anti_dandruff_shampoo_650_ml_22",
"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",
"active": true,
"outOfStock": true,
"width": 100,
"height": 200,
"depth": 20,
"weight": 500,
"prices": [
{
"channelId": "636f2e876e9de14bfe1b02f1",
"salesPrice": "45",
"regularPrice": "50",
"hide": true
}
],
"isShippingEnabled": true,
"isProductLevelTaxEnabled": true,
"tax": {
"CGST": 2,
"SGST": 2,
"GST": 4
},
"isVariantEnabled": 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"
}
},
"categories": [
{
"id": "1231231",
"name": "Shampoos and Soaps"
}
],
"images": [
{
"id": "<string>",
"url": "https://images.aasaan.app/123412421",
"type": "image/png"
}
],
"variantAttributeValues": [
{
"name": "color",
"value": [
"blue, yellow, green"
]
}
],
"brand": {
"id": "636f2e876e9de14bfe1b02fa",
"name": "P&G"
},
"variants": [
{
"id": "567152378158871683",
"name": "Head & Shoulders Anti Hairfall Anti Dandruff Shampoo 600ml",
"quantity": 10,
"description": "<string>",
"shortDescription": "<string>",
"active": true,
"outOfStock": true,
"width": 10,
"height": 10,
"depth": 10,
"weight": 10,
"isShippingEnabled": true,
"isProductLevelTaxEnabled": true,
"images": [
{
"id": "<string>",
"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"
]
}