curl --request POST \
--url https://api.hubapi.com/crm/v3/objects/line_items/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"id": "430001"
}
]
}
'This response has no body data.リクエスト本文でIDを指定することで、複数の商品項目を同時にアーカイブします。
curl --request POST \
--url https://api.hubapi.com/crm/v3/objects/line_items/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"id": "430001"
}
]
}
'This response has no body data.