Query Return
GET https://{handle}.myshopline.com/admin/openapi/v20240301/return.json
handle
: The store's unique identifier, which is the prefix of the store's domain name. For example, if a store's domain name is open001.myshopline.com
, the store handle is open001
.Retrieve the corresponding return order details based on the return order number or order number
Query Parameters
- id stringReturn id ( return id and order id must be filled in one )Example:
2605860580357012238342
- order_id stringOrder id ( return id and order id must be filled in one )Example:
21058605762597644309430942
Request Headers
- Content-Type requiredThe value of this field is fixed to
application/json; charset=utf-8
- Authorization string requiredThe access token for the API. Please refer to App authorization to obtain the access token, and then put the obtained access token into the API request header in Bearer Token.Example:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
Response
- 200
- 401
- 429
For more information about status codes, see Http status code.
Response Headers
traceId
traceId
Response Body
returnsobject[]
Return order informationcreated_at stringReturn order creation timeExample:2022-11-04T10:18:46+00:00
id stringReturn idExample:2605860580357012238342
order_id stringOrder idExample:21058605762597644309430942
return_line_itemsobject[]
Return listingfulfillment_id stringInvoice number associated with return orderExample:22058605790725653626950942
fulfillment_line_itemobject
Shipping message for return list associationline_itemobject
Invoice Product line informationattribute stringProduct attribute information : name-attribute value , multiple attribute values are measured commaExample:Color-red , size-x
fulfillable_quantity integerRemaining Product number of requiredExample:1
fulfillment_service stringLogistics company nameExample:Sf international
fulfillment_status stringProduct delivery status : fulfilled- shipped ; partial- partially shipped ; null- not shippedExample:fulfilled
gift_card booleanWei for gift cards or not : false、trueExample:true
grams doubleProduct weight ( grams )Example:1
id stringProduct row idExample:405
image_url stringProduct link urlExample:https://image.shopline.com/abc.jpg
location_id string1 ) pick up location unique no .2 ) non-local Product location informationExample:5327026538935748524
name stringSKU title, same as titleExample:It's good Product
price stringProduct selling price , Product detail page sale priceExample:100.0
product_id stringSpu serial number , Product unique identification numberExample:16056898121352174690861487
propertiesobject[]
Product customization informationname stringCustom information objectExample:Text
type stringCustom information type : text、picture、link 1 ) when type is text , take name and value ;2 ) when type is picture , the display type is name , and the details of the thumb of urls to obtain Product 3 ) when type is link , support click urls to use the picture .Example:text
urls arrayAddress link informationExample:https://image.shopline.com
value stringCustomized information contentExample:Freedom
quantity integerProduct quantityExample:1
requires_shipping booleanProduct need to be shipped : false、trueExample:true
sku stringMerchant custom numberExample:SKU1234
tags stringProduct tag , separated by ',' when there are multipleExample:sales
tax_linesobject[]
Product tax detailsprice stringTax amountExample:18.00
price_setobject
Tax amount measured in store currency and transaction currencypresentment_moneyobject
Transaction currencyamount stringTax amountExample:18.00
currency_code stringCurrencyExample:USD
shop_moneyobject
Store currencyamount stringTax amountExample:18.00
currency_code stringCurrencyExample:USD
rate doubleTax rateExample:10
title stringTax nameExample:CNMP
taxable booleanProduct incl . : false、trueExample:true
title stringGpu Product titleExample:It's good Product
variant_id stringProduct SKU serial numberExample:18056898121355865678441487
variant_title stringProduct attribute value , multiple divided by " / "Example:L/Red
vendor stringProduct supplierquantity integerShipping quantity of invoiceExample:1
id stringReturn Product line numberExample:RDP5860580372212396041
quantity integerReturn order Product number of returnsExample:1
return_reason stringThe return reasons for the product line: COLOR(Incorrect color), DEFECTIVE(Product is damaged or defective), NOT_AS_DESCRIBED(Product does not match the description), OTHER(Other reasons), SIZE_TOO_LARGE(Size is too large), SIZE_TOO_SMALL(Size is too small), STYLE(Issues with the style), UNWANTED(Customer changed their mind), WRONG_ITEM(Received the wrong item)Example:NOT_AS_DESCRIBED
return_reason_note stringProduct line return reason detailed notes, maximum 128 characters supportedExample:Product does not match the description
return_reason stringReturn reasonExample:no reseaon
status stringReturn order status ; open ( in return ) , CLOSED ( returned goods are completed and refunded is completed )Example:OPEN
API Explorer
Debugger
Was this article helpful to you?
Error loading component.