Catalog - Brands
Create a Brand Image
POST /stores/{store_hash}/v3/catalog/brands/{brand_id}/image
Request
Creates a brand image.
Required Fields
- image_file: Form posts are the only accepted upload option.
Read-Only Fields
- id
Only one image at a time can be created. To update a brand image, use the Update a brand endpoint and an image_url
.
Authentication
- X-Auth-Token in headerrequired
Parameters
- store_hash in path - string
- Content-Type in header with default of application/json - stringrequired
The MIME type of the request body.
Response
Body
object | application/json
dataobject
metaobject
Response metadata.
example
Delete a Brand Image
DELETE /stores/{store_hash}/v3/catalog/brands/{brand_id}/image
Request
Deletes a brand image.
Authentication
- X-Auth-Token in headerrequired
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequired
The MIME type of the response body.
- brand_id in path - integerrequired
The ID of the brand to which the resource belongs.
example
Response
Did you find what you were looking for?