Tag
Update a tag.
GETTING STARTED
Store
Custom Domain
Category
Brand
Tag
Store Front
Tag
Update a tag.
Update a tag.
PATCH
/
{storeId}
/
tags
/
{id}
curl --request PATCH \
--url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId}/tags/{id} \
--header 'Content-Type: application/json' \
--data '{
"name": "vegan",
"imageUrl": "https://images.aasaan.shop/stores/logo/logo_1684500490812.png"
}'
{
"id": "vegan-tag-id-1",
"name": "vegan",
"imageUrl": "vegan"
}
Body
application/json
Response
200
application/json
Tag updated.
The response is of type object
.
curl --request PATCH \
--url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId}/tags/{id} \
--header 'Content-Type: application/json' \
--data '{
"name": "vegan",
"imageUrl": "https://images.aasaan.shop/stores/logo/logo_1684500490812.png"
}'
{
"id": "vegan-tag-id-1",
"name": "vegan",
"imageUrl": "vegan"
}