Get UCP Order
curl --request GET \
--url https://omnicommerce.sg/ucp/v1/orders/{orderId} \
--header 'Authorization: Bearer <token>' \
--header 'UCP-Agent: <ucp-agent>'const options = {
method: 'GET',
headers: {'UCP-Agent': '<ucp-agent>', Authorization: 'Bearer <token>'}
};
fetch('https://omnicommerce.sg/ucp/v1/orders/{orderId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/ucp/v1/orders/{orderId}"
headers = {
"UCP-Agent": "<ucp-agent>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"ucp": {},
"id": "<string>",
"line_items": [
{}
],
"currency": "<string>",
"totals": [
{}
],
"label": "<string>",
"checkout_id": "<string>",
"permalink_url": "<string>",
"fulfillment": {}
}UCP
Get UCP Order
Fetch the native OmniCommerce order created by a completed UCP checkout session. Only agentic orders are exposed through this facade.
GET
/
ucp
/
v1
/
orders
/
{orderId}
Get UCP Order
curl --request GET \
--url https://omnicommerce.sg/ucp/v1/orders/{orderId} \
--header 'Authorization: Bearer <token>' \
--header 'UCP-Agent: <ucp-agent>'const options = {
method: 'GET',
headers: {'UCP-Agent': '<ucp-agent>', Authorization: 'Bearer <token>'}
};
fetch('https://omnicommerce.sg/ucp/v1/orders/{orderId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omnicommerce.sg/ucp/v1/orders/{orderId}"
headers = {
"UCP-Agent": "<ucp-agent>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"ucp": {},
"id": "<string>",
"line_items": [
{}
],
"currency": "<string>",
"totals": [
{}
],
"label": "<string>",
"checkout_id": "<string>",
"permalink_url": "<string>",
"fulfillment": {}
}Authorizations
Bearer API key for server-to-server access. Session auth is also supported in first-party UI flows.
Headers
UCP agent identity, for example agent.example/1.0.
Maximum string length:
240Path Parameters
Query Parameters
Optional organization scope for session-authenticated calls. OAuth client credentials resolve the organization from the token.
Maximum string length:
120