PUT
/
brands
/
{brandId}
curl --request PUT \
  --url https://api.aasaan.shop/api/v1/stores/brands/{brandId} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Head & Shoulders",
  "slug": "head_shoulders",
  "description": "Head & Shoulders",
  "hide": true,
  "displayOrder": "<string>",
  "active": "true",
  "image": {
    "id": "<string>",
    "url": "https://images.aasaan.app/123412421",
    "type": "image/png"
  }
}'
{
  "id": "623d3455ec3c4b3548eb4a322",
  "name": "Head & Shoulders",
  "slug": "head_shoulders",
  "description": "Head & Shoulders",
  "hide": true,
  "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"
}

Path Parameters

brandId
string
required

Brand id

Body

application/json
name
string
required

Name

slug
string

Slug

description
string

Head & Shoulders brand

hide
boolean

Hide a brand

displayOrder
string

Display order

active
boolean

Activate the brand

image
object
required

Brand image

Response

201 - application/json
id
string

Unique identifier for the resource

name
string

Name

slug
string

Slug

description
string

Head & Shoulders brand

hide
boolean

Hide a brand

displayOrder
string

Display order

active
boolean

Activate the brand

image
object

Brand image

date_created
string

Created date

date_modified
string

Modified date