Use this method to retrieve the history of orders for a shopper.
Query parameters
tokenstringOptional
Provide the authorized or anonymous token for a shopper.
orderStatestringOptional
Specifies the current state of the order. The possible values are as follows: Open, In Process, Cancelled, Submitted, Complete, Dispute, In Review, Source Pending Funds, Source Pending Redirect, and Charge Pending.
pageNumberstringOptional
Specify the page to display from the result pages. Default set to 10.
pageSizestringOptional
Specify the maximum number of items to include in each page.
expandstringOptional
Use the expand query parameter when you want additional fields to appear in the response. The expand query parameter provides more fields in the response. Expanding resources reduces the number of API calls required to accomplish a task.
fieldsstringOptional
Specify the fields that you want to appear in the response. Filtering the fields returned in the response can conserve bandwidth and accelerate response time.
Responses
application/json
one ofOptional
application/json
get
GET /v1/shoppers/me/orders HTTP/1.1
Host: api.digitalriver.com
Accept: */*
To get a shopper's order by ID, specify the order ID in the {id} URI path parameter.
Path parameters
orderIdstringRequired
Provide the order's identifier.
Query parameters
tokenstringOptional
Provide the authorized or anonymous token for a shopper.
orderStatestringRequired
Specifies the current state of the order. The possible values are as follows. Open, In Process, Cancelled, or Submitted.
expandstringOptional
Use the expand query parameter when you want additional fields to appear in the response. The expand query parameter provides more fields in the response. Expanding resources reduces the number of API calls required to accomplish a task.
fieldsstringOptional
Specify the fields that you want to appear in the response. Filtering the fields returned in the response can conserve bandwidth and accelerate response time.
Responses
application/json
one ofOptional
application/json
application/json
get
GET /v1/shoppers/me/orders/{orderId} HTTP/1.1
Host: api.digitalriver.com
Accept: */*