PUT
/
{storeId}
/
tags
curl --request PUT \
  --url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId}/tags \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "id": "vegan-id-1",
    "name": "vegan",
    "imageUrl": "https://images.aasaan.shop/stores/logo/logo_1684500490812.png"
  }
]'
{
  "tags": [
    {
      "id": "vegan-tag-id-1",
      "name": "vegan",
      "imageUrl": "vegan"
    }
  ],
  "errors": [
    "Tag with TagId - tag-id-1 is missing name"
  ]
}

Path Parameters

storeId
string
required

Store ID for this resource request

Body

application/json ยท object[]
id
string

ID of the Tag that needs to be put

name
string

Name to be used for this tag

imageUrl
string

Image that represents this tag

Response

201 - application/json
tags
object[]
errors
string[]