curl --request POST \
--url 'https://prod-api.stateset.cloud.stateset.app/api/v1/asns/{id}/hold' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"reason": "Two-person tent, green — replacement for damaged pole set.",
"version": 1
}'
{
"data": {
"hold_reason": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"version": 1
},
"errors": [
"string"
],
"message": "Two-person tent, green — replacement for damaged pole set.",
"meta": {
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"timestamp": "2026-08-31T14:22:05Z"
},
"success": true
}
Place an ASN on hold
ASN placed on hold
POST
/
api
/
v1
/
asns
/
{id}
/
hold
curl --request POST \
--url 'https://prod-api.stateset.cloud.stateset.app/api/v1/asns/{id}/hold' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"reason": "Two-person tent, green — replacement for damaged pole set.",
"version": 1
}'
{
"data": {
"hold_reason": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"version": 1
},
"errors": [
"string"
],
"message": "Two-person tent, green — replacement for damaged pole set.",
"meta": {
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"timestamp": "2026-08-31T14:22:05Z"
},
"success": true
}
Path parameters
string (uuid)
required
ASN ID
Request body
HoldAsnRequest
string
required
integer (int32)
required
Response
ApiResponse_HoldAsnResponse
array,null
string,null
boolean
required
Status codes
| Code | Meaning |
|---|---|
200 | ASN placed on hold |
400 | Invalid request or status |
404 | ASN not found |
409 | Version conflict |
curl --request POST \
--url 'https://prod-api.stateset.cloud.stateset.app/api/v1/asns/{id}/hold' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"reason": "Two-person tent, green — replacement for damaged pole set.",
"version": 1
}'
{
"data": {
"hold_reason": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "pending",
"version": 1
},
"errors": [
"string"
],
"message": "Two-person tent, green — replacement for damaged pole set.",
"meta": {
"request_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"timestamp": "2026-08-31T14:22:05Z"
},
"success": true
}
Last modified on August 31, 2026