Query order specify of your money back order
GET https://{handle}.myshopline.com/admin/openapi/v20260301/orders/:order_id/refunds/:refund_id.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 - refund_id string requiredRefund single idExample:
22057168152571061289431726
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
refundobject
Refund ordertransactionsobject[]
Refund transaction informationcurrency stringCurrencyExample:CNYorder_id stringOrder numberExample:21056836827909126061559008amount stringRefund amount , accuracy 2Example:100id stringRefund IDExample:10100112220607455014540963840status stringHandling status, pending, failure, success, and errorExample:successcreated_at stringCreation timeExample:2022-10-03T12:44:45-04:00processed_at stringCreation timeExample:2022-10-03T12:44:45-04:00user_id stringBuyer IDExample:"4323434kind stringTransaction type (authorization, capture, sale, void, refund)Example:refunduser_id stringUser IDExample:16576456processed_at stringUpdate time (see IOS8601 for the format)Example:2022-10-03T12:44:45-04:00created_at stringRefund form creation time (see IOS8601 for the format)Example:2022-10-03T12:44:45-04:00note stringRefund NotesExample:Notesorder_adjustmentsobject[]
Adjust the order informationrefund_id stringRefund single idExample:27057168152571061289431726amount_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:CYNkind stringAdjust single typeExample:shipping_refundamount stringAdjust the single amountExample:100order_id stringOrder numberExample:21057168152571061289431726reason stringAdjust the reasonExample:reason msgtax_amount stringAdjust the single tax amountExample:100tax_amount_setobject
Adjust the single tax amountshop_moneyobject
Store adjusts the amount of single taxamount doubleStore adjusts the amount of single taxExample:9.9currency_code stringStore adjustment of single tax currencyExample:CNYpresentment_moneyobject
Store adjustment single display tax amountamount doubleStore adjustment single display tax amountExample:9.9currency_code stringStore adjustment single display tax currencyExample:CNYid stringRefund adjustment single idExample:2309123221222208434order_id stringOrder numberExample:21057168152571061289431726id stringRefund IDExample:SL201AS4571669738589065294refund_line_itemsobject[]
Refund Detailstotal_tax doubleTax amount of refunded goods, precision 2Example:100total_tax_setobject
Total tax amount, multi-currency informationpresentment_moneyobject
Buy side currencyamount stringAmountExample:100currency_code stringCurrencyExample:CNYshop_moneyobject
Sell side currencyamount stringAmountExample:100currency_code stringCurrencyExample:CNYid stringRefund order numberExample:27057168152571061289431726line_itemobject
Product rowsprice_setobject
Product selling price , multi-currency informationpresentment_moneyobject
Buy side currencycurrency_code stringCurrencyamount stringAmountshop_moneyobject
Sell side currencyamount stringAmountcurrency_code stringCurrencyfulfillment_service stringLogistics company nameExample:Go squarefulfillment_status stringThe shipping status of the product, shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped;Example:partialgrams doubleWeight ( grams )Example:1.2quantity integerQuantity of items in the orderExample:1variant_id stringProduct SKU serial numberExample:18054488231146952151833534fulfillable_quantity integerAvailable quantityExample:1variant_title stringCommodity attribute value, multiple divided by " / ", such as: "155 / red / large"Example:155 / red / largeproduct_id stringSPU serial numberExample:18054488231146952151833534title stringProduct titleExample:Product titlevendor stringSupplierExample:Supplierattribute stringProduct attributes : name-attribute value multiple comma " , " division like : color-red , size-xExample:Size-xid stringThe ID of the product snapshot table, generated by the system, uniquely confirms a product with the order numberExample:2655436734527560sku stringProduct code, barCodeExample:18054488231146952151833534taxable booleanTax or not?Example:truetax_linesobject[]
Tax informationtitle stringHeadlineExample:Headlineprice stringTax, precision 2Example:100price_setobject
Multi-currency information of taxshop_moneyobject
Sell side amount informationcurrency_code stringCurrencyExample:CNYamount stringAmountExample:100presentment_moneyobject
Buy side currencyamount stringAmount, Precision 2Example:100currency_code stringCurrencyExample:CNYrate doubleTax rateExample:1.2name stringSKU title, same as titleExample:Sku titlerequires_shipping booleanShipping or notExample:trueprice stringCommodity price, precision 2Example:100restock_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 currencyamount stringAmountExample:100currency_code stringCurrencyExample:CNYshop_moneyobject
Sell side amount informationamount stringAmountExample:100currency_code stringCurrencyExample:CNYline_item_id stringThe ID of the product snapshot table, generated by the system, uniquely confirms a product with the order numberExample:23312553324324quantity integerQuantity, quantity of goodsExample:1subtotal doubleTotal refund amount, precision 2Example:100total_duties_setobject
Refund total dutypresentment_moneyobject
Buyer side amount informationamount stringAmountcurrency_code stringCurrencyshop_moneyobject
Sell side amount informationcurrency_code stringCurrencyamount stringAmount
API Explorer
Debugger
Was this article helpful to you?