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"
}
Update a tag.
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"
}
Tag updated.
The response is of type object
.