Query all refund orders for the id association
GET https://{handle}.myshopline.com/admin/openapi/v20260301/orders/:order_id/refunds.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 .Path Parameters
- order_id string requiredOrder idExample:
”21057168152571061289431726“
Query Parameters
- limit longLimited to return quantity up to 250 piecesExample:
250
Request Headers
- Content-Type string requiredThe field must be set to the fixed value
application/json; charset=utf-8. - Authorization string requiredThe access token for the API resource. Refer to App authorization to obtain the access token, and then pass the obtained token in the Bearer format.Example:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw
Status Codes
- 200
- 401
- 429
For the complete list of codes and messages, see Http status code.
Response Headers
traceId
A globally unique identifier for the request. It is used to track the request flow throughout the system, allowing for easy location and debugging when issues arise.
Response Body
refundsobject[]
Refund orderid stringRefund IDExample:SL201AS4571669738589065294order_id stringOrder numberExample:21057168152571061289431726total_duties_setobject
Refund total dutypresentment_moneyobject
Buyer side amount informationamount stringAmountExample:8.88currency_code stringCurrencyExample:USDshop_moneyobject
Sell side amount informationamount stringAmountExample:8.88currency_code stringCurrencyExample:USDnote stringRefund NotesExample:Notesorder_adjustmentsobject[]
Adjust the order informationtax_amount stringAdjust the single tax amountExample:100kind stringAdjust single typeExample:shipping_refundtax_amount_setobject
Adjust the single tax amountpresentment_moneyobject
Store adjustment single display tax amountamount doubleStore adjustment single display tax amountExample:9.9currency_code stringStore adjustment single display tax currencyExample:CNYshop_moneyobject
Store adjusts the amount of single taxcurrency_code stringStore adjustment of single tax currencyExample:CNYamount doubleStore adjusts the amount of single taxExample:9.9amount_setobject
Adjust the single amountpresentment_moneyobject
Store adjustment of displayamount doubleStore adjustment of displayExample:100currency_code stringStore adjustment of display amount currencyExample:CNYshop_moneyobject
Store adjustment amountamount doubleStore adjustment amountExample:100currency_code stringStore adjust the amount currencyExample:CYNid stringRefund adjustment single idExample:2309123221222208434reason stringAdjust the reasonExample:reason msgamount stringAdjust the single amountExample:100refund_id stringRefund single idExample:27057168152571061289431726order_id stringOrder numberExample:21057168152571061289431726processed_at stringUpdate time (see IOS8601 for the format)Example:2022-10-03T12:44:45-04:00refund_line_itemsobject[]
Refund Detailsline_item_id stringThe ID of the product snapshot table, generated by the system, uniquely confirms a product with the order numberExample:23312553324324subtotal doubleTotal refund amount, precision 2Example:100total_tax doubleTax amount of refunded goods, precision 2Example:100quantity integerQuantity, quantity of goodsExample:1restock_type stringInventory return type , no_restock- is not returned , cancel- is cancelled , return- is returnedExample:no_restocksubtotal_setobject
Total refund amount, multi-currency information, same on seller and buyer sidepresentment_moneyobject
Buy side currencycurrency_code stringCurrencyExample:CNYamount stringAmountExample:100shop_moneyobject
Sell side amount informationamount stringAmountExample:100currency_code stringCurrencyExample:CNYtotal_tax_setobject
Total tax amount, multi-currency informationshop_moneyobject
Sell side currencyamount stringAmountExample:100currency_code stringCurrencyExample:CNYpresentment_moneyobject
Buy side currencyamount stringAmountExample:100currency_code stringCurrencyExample:CNYid stringRefund order numberExample:27057168152571061289431726line_itemobject
Product rowsquantity integerQuantity of items in the orderExample:1price_setobject
Product selling price , multi-currency informationpresentment_moneyobject
Buy side currencyamount stringAmountExample:8.00currency_code stringCurrencyExample:USDshop_moneyobject
Sell side currencycurrency_code stringCurrencyExample:USDamount stringAmountExample:8.00product_id stringSPU serial numberExample:18054488231146952151833534variant_id stringProduct SKU serial numberExample:18054488231146952151833534fulfillment_service stringLogistics company nameExample:Go squareprice stringCommodity price, precision 2Example:100taxable booleanTax or notExample:truefulfillable_quantity integerAvailable quantityExample:1tax_linesobject[]
Tax informationprice stringTax, precision 2Example:100price_setobject
Multi-currency information of taxpresentment_moneyobject
Buy side currencycurrency_code stringCurrencyExample:CNYamount stringAmount, Precision 2Example:100shop_moneyobject
Sell side amount informationamount stringAmountExample:100currency_code stringCurrencyExample:CNYrate doubleTax rateExample:1.2title stringHeadlineExample:Headlinefulfillment_status stringThe shipping status of the product, shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped;Example:partialgrams doubleWeight ( grams )Example:1.2name stringSKU title, same as titleExample:Sku titlerequires_shipping booleanShipping or notExample:truevariant_title stringCommodity attribute value, multiple divided by " / ", such as: "155 / red / large"Example:155 / red / largeattribute stringProduct attributes : name-attribute value multiple comma " , " division like : color-red , size-xExample:Size-xvendor stringSupplierExample:Supplierid stringThe ID of the product snapshot table, generated by the system, uniquely confirms a product with the order numberExample:2655436734527560sku stringProduct code, barCodeExample:18054488231146952151833534title stringProduct titleExample:Product titlecreated_at stringRefund form creation time (see IOS8601 for the format)Example:2022-10-03T12:44:45-04:00user_id stringUser IDExample:16576456transactionsobject[]
Refund transaction informationkind stringTransaction type (authorization, capture, sale, void, refund)Example:refundcurrency stringCurrencyExample:CNYprocessed_at stringCreation timeExample:2022-10-03T12:44:45-04:00status stringHandling status, pending, failure, success, and errorExample:successuser_id stringBuyer IDExample:14323434created_at stringCreation timeExample:2022-10-03T12:44:45-04:00order_id stringOrder numberExample:21056836827909126061559008amount stringRefund amount , accuracy 2Example:100id stringRefund IDExample:10100112220607455014540963840
API Explorer
Debugger
Was this article helpful to you?