curl --request POST \
--url https://api.hubapi.com/crm/v3/objects/products/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/products/batch/archive \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"inputs": [
{
"id": "430001"
}
]
}
'This response has no body data.