curl --request POST \
--url https://api.myscalev.com/v3/orders/mark-not-spam \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
123
]
}
'{
"data": [
{
"id": 123,
"is_probably_spam": true,
"mark_as_spam_by": "<string>",
"order_id": "<string>",
"payment_status": "unpaid",
"status": "draft"
}
],
"is_paginated": false
}Requires the order:update machine scope. Mark multiple orders as not spam.
curl --request POST \
--url https://api.myscalev.com/v3/orders/mark-not-spam \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ids": [
123
]
}
'{
"data": [
{
"id": 123,
"is_probably_spam": true,
"mark_as_spam_by": "<string>",
"order_id": "<string>",
"payment_status": "unpaid",
"status": "draft"
}
],
"is_paginated": false
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Mark not spam data
Order primary keys to mark as not spam