PUT
/
{storeId}
/
brands
curl --request PUT \
  --url https://partner-api.aasaan.shop/api/v1/partner-integrations/stores/{storeId}/brands \
  --header 'Content-Type: application/json' \
  --data '[
  {
    "id": "ae7219",
    "name": "Head & Shoulders",
    "slug": "head_shoulders",
    "description": "Head & Shoulders",
    "hide": "<string>",
    "displayOrder": "<string>",
    "active": "true",
    "image": {
      "id": "<string>",
      "url": "https://images.aasaan.app/123412421",
      "type": "image/png"
    }
  }
]'
{
  "brands": [
    {
      "id": "external-brand-id-1",
      "name": "Head & Shoulders",
      "slug": "head_shoulders",
      "description": "Head & Shoulders",
      "hide": "<string>",
      "displayOrder": "<string>",
      "active": "true",
      "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": [
    "Brand with BrandId - brand-id-1 is missing name"
  ]
}

Path Parameters

storeId
string
required

Store ID for this resource request

Body

application/json ยท object[]
id
string
required

id

name
string
required

Name

slug
string

Slug

description
string

Head & Shoulders brand

hide
string

Hide a brand

displayOrder
string

Display order

active
boolean

Activate the brand

image
object

Brand image

Response

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