Modify product position
Changes the position of an asset's product reference.
PATCH /v4/file/{file_uuid}/product/position
API Permissions
OBJECT_FETCH
Body
{
"position": 1
}
Try it out
Request
Copy-paste the cURL request in your Terminal or click on the API Explorer tab to see the API in action.
host: 'https://api.filerobot.com/fdocs'
path: '/v4/file/{file_uuid}/product/position'
headers:
X-Filerobot-Key: 19692813e7364ef8ad6a6504d50a12ca
variables:
file_uuid: 6bcf252e-a3c3-5c98-a593-3dfb51450000
theme: clouds-midnight
editor_theme: clouds_midnight
method: PATCH
body: |
{
"position": 6
}
render:
curl_tab: true Response
{
"status": "success",
"action": "product_position_updated",
"product_ref": "B03423",
"product_position": "6",
"file_uuid": "6bcf252e-a3c3-5c98-a593-3dfb51450000"
}