curl --request POST \
--url https://api.example.com/api/public/ticket/metadata \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"metadata": {
"order_id": "ORD-12345",
"priority": "high"
}
}
'Updates metadata of the active ticket, or the latest closed ticket if allow_closed_ticket is true.
curl --request POST \
--url https://api.example.com/api/public/ticket/metadata \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"metadata": {
"order_id": "ORD-12345",
"priority": "high"
}
}
'Was this page helpful?