Modify product reference
PATCH {{api-server}}/:token/{{api-version}}/product/:product_ref
The API endpoint renames an existing product reference.
Body attributes
Attribute | Description | Type | Required |
---|---|---|---|
ref | New reference name. | String | Yes |
Request Body
{"ref"=>"6666244"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Filerobot-Key | string | Filerobot API Key | |
Content-Type | string |
RESPONSES
status: OK
{"status":"success","msg":"Product ref well updated","new_product_ref":"Name-change-ref","files_uuids":["341c6b77-ad4f-565d-8da7-fb7829850000"],"api_version":{"hash":"6d1a3a276d2010c431497f417c2818086cfad8d7","datetime":"2023-08-03T00:15:53+07:00"}}