GETTING STARTED
Store
Custom Domain
Category
Brand
Tag
Store Front
Brand
Put a brand.
Create or update a new brand
PUT
/
{storeId}
/
brands
/
{id}
curl --request PUT \
--url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId}/brands/{id} \
--header 'Content-Type: application/json' \
--data '{
"name": "Head & Shoulders",
"slug": "head_shoulders",
"description": "Head & Shoulders",
"hide": false,
"displayOrder": 0,
"active": "true",
"image": {
"id": 0,
"url": "https://images.aasaan.app/123412421",
"type": "image/png"
}
}'
{
"id": "external-brand-id-1",
"name": "Head & Shoulders",
"slug": "head_shoulders",
"description": "Head & Shoulders",
"hide": false,
"displayOrder": 0,
"active": "true",
"image": {
"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"
}
Path Parameters
Brand id
Store ID for this resource request
Body
application/json
Response
201
application/json
Brand created.
The response is of type object
.
curl --request PUT \
--url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId}/brands/{id} \
--header 'Content-Type: application/json' \
--data '{
"name": "Head & Shoulders",
"slug": "head_shoulders",
"description": "Head & Shoulders",
"hide": false,
"displayOrder": 0,
"active": "true",
"image": {
"id": 0,
"url": "https://images.aasaan.app/123412421",
"type": "image/png"
}
}'
{
"id": "external-brand-id-1",
"name": "Head & Shoulders",
"slug": "head_shoulders",
"description": "Head & Shoulders",
"hide": false,
"displayOrder": 0,
"active": "true",
"image": {
"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"
}
Assistant
Responses are generated using AI and may contain mistakes.