Salta ai contenuti

Update product file metadata (flags, display order)

PUT
/v2/product-catalog/products/{id}/files/{fileId}
curl --request PUT \
--url https://api-crm-staging.divinea.com/api/v2/product-catalog/products/example/files/1 \
--header 'APIKey: <APIKey>' \
--header 'Content-Type: application/json' \
--data '{ "displayOrder": 1, "flags": "example" }'
fileId
required
integer format: int64

FileId

id
required
string format: uuid

Id

Request

Media typeapplication/json
UpdateFileMetadataRequest
object
displayOrder
integer format: int32
flags
string
Examplegenerated
{
"displayOrder": 1,
"flags": "example"
}

OK

Media type*/*