Update Brand
Update brand with specified identifier.
Update Brand
PATCH
https://environment.monterosa.cloud/api/v2/brands/:brand_id
Path Parameters
Bearer JmsmU5gZb6xNVUgQGoKcQLvQjRhKAUSb
Request Body
Example
// PATCH /api/v2/brands/951a951e-07de-457f-99c8-f1307fad4eeb
// Host: environment.monterosa.cloud
// 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.monterosa.cloud/images/brand_image.png"
}
}
}
// Response: 204 No Content
curl --request PATCH \
--url https://environment.monterosa.cloud/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.monterosa.cloud/images/brand_image.png"
}
}
}'