Skip to content

Get cancel/refund request status

GET
/api/v1/business/website/orders/{order_id}/requests/

All cancellation and refund requests for one order.

Authorizations

apiKey

Your business API key (sb_live_*) — identifies which store the request is for. Required on every /api/v1/business/website/ request.

Type
API Key (header: X-Periscale-Key)
+
shopperToken

The shopper's access token from the shopper authentication endpoints. Required for cart, checkout, orders, and account actions.

Type
HTTP (bearer)

Parameters

Path Parameters

order_id*
Type
integer
Required

Responses

Requests for the order.

application/json
JSON
{
  
"status": true,
  
"status_code": 0,
  
"message": "string",
  
"data": {
  
  
"cancellation_requests": [
  
  
  
{
  
  
  
  
"id": 0,
  
  
  
  
"status": "string",
  
  
  
  
"reason": "string",
  
  
  
  
"admin_note": "string",
  
  
  
  
"reviewed_at": "string",
  
  
  
  
"created_at": "string"
  
  
  
}
  
  
],
  
  
"refund_requests": [
  
  
  
{
  
  
  
  
"id": 0,
  
  
  
  
"status": "string",
  
  
  
  
"reason": "string",
  
  
  
  
"amount": "string",
  
  
  
  
"admin_note": "string",
  
  
  
  
"refund_method": "string",
  
  
  
  
"reviewed_at": "string",
  
  
  
  
"created_at": "string"
  
  
  
}
  
  
]
  
}
}

Playground

Server
Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

© Periscale