slug
(path) - Unique slug of the Typereference
(path) - Unique reference of the Item{
"data": {
"price": 3999.99,
"available": false
}
}
{
"status": "inactive"
}
curl --location --request PUT 'https://api-develop.enspace.io/ws/types/produtos/items/PRO6607F61548C84A7DAF163C747E99A' \
--header 'x-api-key: <api-key>' \
--header 'en-workspace: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"value": 40
}
}'
{
"id": 0,
"reference": "string",
"status": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"type": {
"id": 0,
"name": "string",
"slug": "string",
"description": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"fields_count": 0,
"items_count": 0,
"config": {}
},
"data": {}
}