Category
Put a multiple categories
- Connect to Shopify
- Connect to Bigcommerce
- GETGet All Stores for a client
- GETGet Store Information
- POSTCreate a new store.
- PATCHUpdate Store information (email, address, metadata)
- POSTCreate a custom domain.
- GETGet a category by Id.
- PUTPut a new category.
- POSTCreate a new category.
- DELDelete a Category.
- PATCHUpdate a category.
- PUTPut a multiple categories
- GETGet all categories.
- GETGet a brand by Id.
- PUTPut a brand.
- POSTCreate a new brand.
- DELDelete a brand.
- PATCHUpdate a brand.
- GETGet all brands.
- PUTPut a multiple brands
- GETGet a tag by Id.
- PUTPut a tag.
- POSTCreate a new tag.
- DELDelete a tag.
- PATCHUpdate a tag.
- GETGet all tags.
- PUTPut a multiple tags
Store
Custom Domain
Category
Brand
Tag
Category
Put a multiple categories
Create or Update multiple categories’
PUT
/
{storeId}
/
categories
/
storeId
string
*
storeId
Required
string
Store ID for this resource request
array
*
curl --request PUT \
--url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId}/categories/ \
--header 'Content-Type: application/json' \
--data '[
{
"id": "ae7219",
"name": "Shampoo",
"slug": "shampoo",
"description": "Hair categories",
"hide": "<string>",
"displayOrder": "<string>",
"parentCategoryId": "6124bc492f3660f743776404",
"image": {
"id": "<string>",
"url": "https://images.aasaan.app/123412421",
"type": "image/png"
}
}
]'
{
"categories": [
{
"id": "623d3455ec3c4b3548eb4a322",
"name": "Shampoo",
"slug": "shampoo",
"description": "Hair categories",
"hide": "<string>",
"displayOrder": "<string>",
"parentCategoryId": "6124bc492f3660f743776404",
"image": {
"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"
}
],
"errors": [
"Category with CategoryId - category-id-1 is missing name"
]
}
Path Parameters
storeId
string
requiredStore ID for this resource request
Body
application/json · object[]
id
string
requiredid
name
string
requiredName
slug
string
Slug
description
string
Shampoos and conditioners
hide
string
Hide a category
displayOrder
string
Display order
parentCategoryId
string
Parent category id
image
object
Category image
image.id
string
Image identifier
image.url
string
Image URL
image.type
string
Mime Type
Response
201 - application/json
categories
object[]
categories.id
string
Unique identifier for the resource that was used to create this category
categories.name
string
Name
categories.slug
string
Slug
categories.description
string
Shampoos and conditioners
categories.hide
string
Hide a category
categories.displayOrder
string
Display order
categories.parentCategoryId
string
Parent category id
categories.image
object
Category image
categories.image.id
string
Image identifier
categories.image.url
string
Image URL
categories.image.type
string
Mime Type
categories.date_created
string
Created date
categories.date_modified
string
Modified date
errors
string[]
curl --request PUT \
--url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId}/categories/ \
--header 'Content-Type: application/json' \
--data '[
{
"id": "ae7219",
"name": "Shampoo",
"slug": "shampoo",
"description": "Hair categories",
"hide": "<string>",
"displayOrder": "<string>",
"parentCategoryId": "6124bc492f3660f743776404",
"image": {
"id": "<string>",
"url": "https://images.aasaan.app/123412421",
"type": "image/png"
}
}
]'
{
"categories": [
{
"id": "623d3455ec3c4b3548eb4a322",
"name": "Shampoo",
"slug": "shampoo",
"description": "Hair categories",
"hide": "<string>",
"displayOrder": "<string>",
"parentCategoryId": "6124bc492f3660f743776404",
"image": {
"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"
}
],
"errors": [
"Category with CategoryId - category-id-1 is missing name"
]
}