curl --request POST \
--url https://api.getsly.ai/v1/v1/ucp/orders/{id}/expectations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "shipping",
"expected_at": "2023-11-07T05:31:56Z",
"description": "<string>"
}
'{
"data": {
"id": "<string>",
"type": "shipping",
"expected_at": "2023-11-07T05:31:56Z",
"status": "pending",
"description": "<string>"
}
}Declare what the merchant is committing to deliver — shipping ETA, digital delivery window, etc. Used by dispute resolution.
curl --request POST \
--url https://api.getsly.ai/v1/v1/ucp/orders/{id}/expectations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "shipping",
"expected_at": "2023-11-07T05:31:56Z",
"description": "<string>"
}
'{
"data": {
"id": "<string>",
"type": "shipping",
"expected_at": "2023-11-07T05:31:56Z",
"status": "pending",
"description": "<string>"
}
}API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).
Expectation recorded
Show child attributes