Links

Update Brand

Update brand with specified identifier.
patch
https://environment.lvis.io
/api/v2/brands/:brand_id
Update Brand

Example

Request
Response
cURL
// PATCH /api/v2/brands/951a951e-07de-457f-99c8-f1307fad4eeb
// Host: environment.lvis.io
// Authorization: Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb
// Content-Type: application/vnd.api+json
{
"data": {
"type": "brands",
"id": "951a951e-07de-457f-99c8-f1307fad4eeb",
"attributes": {
"name": "New Name",
"image_url": "https://environment.lvis.io/images/brand_image.png"
}
}
}
// Response: 204 No Content
curl --request PATCH \
--url https://environment.lvis.io/api/v2/brands/951a951e-07de-457f-99c8-f1307fad4eeb \
--header 'Authorization: Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "brands",
"id": "951a951e-07de-457f-99c8-f1307fad4eeb",
"attributes": {
"name": "New Name",
"image_url": "https://environment.lvis.io/images/brand_image.png"
}
}
}'