Requires write_orders access scope.
For more info, refer to:
POST https://{handle}.myshopline.com/admin/openapi/v20260301/orders/order_edit_commit.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 .
Order Editing - Submit Interface. Editing an order is a combination of interfaces (start editing, modify product quantity, add regular product lines, add custom product lines, add product line discounts, remove product line discounts, order editing and submission). You need to call the Edit Order - Start interface to start editing once. If there is an error when calling this interface, an error will be obtained in the return value user_ errors field. If the caller calls the Order Editing and Submit interface incorrectly, they need to check whether the current editing has been updated in the returned order data. If the returned order has no value, they need to query the order list query interface to see if the order data has been updated in this editing. If the data is clear but not updated, You can retry (note: retry requires starting from the order_iditjson order editing interface and calling the entire order editing interface again)
Request Headers
  • Content-Type string required
    The field must be set to the fixed value application/json; charset=utf-8.
  • Authorization string required
    The 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
Request Body
  • requestobject
    Request body
  • id string required
    Edit order draft order id ( can be obtained from call order editing-start interface return parameters )
    Example: 2108973455469898
  • notify_customer boolean
    Need to inform customers or not
Status Codes
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
  • orderobject
    For order information, field descriptions and examples, please refer to the response result of the order list
  • email string
    Buyer's mailbox, there must be one of the two
    Example: test1002@Gmail.com
  • client_detailsobject
    Client Details
  • browser_ip string
    Client ip address
    Example: 157.119.232.35
  • session_hash string
    Member session encryption information
    Example: c2c4a58186b9d96395d7e6b5c2969577
  • user_agent string
    Client Proxy
    Example: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Sa
  • current_total_discounts_setobject
  • presentment_moneyobject
    Currency information
  • amount string
    Amount
    Example: 3.25
  • currency_code string
    Currency information
    Example: USD
  • shop_moneyobject
    Sell side amount
  • amount string
    Amount
    Example: 3.25
  • currency_code string
    Currency
    Example: USD
  • total_tax_setobject
    Tax summation, multi-currency information
  • shop_moneyobject
    Sell side amount information
  • amount string
    Amount, Precision 2
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • presentment_moneyobject
    Buyer side amount information
  • amount string
    Amount, Precision 2
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • financial_status string
    Payment status , un pad , authorized , pending , partially_paid , pad , partially_refunded , refunded
    Example: unpaid
  • id string
    Order number , system customization number
    Example: 21050224312121887324667162
  • billing_addressobject
    billing address
  • address2 string
    Bill consignee additional to detailed address ( up to 255 characters )
    Example: Address 2
  • country string
    Billing consignee country ( up to 64 characters )
    Example: Usa
  • zip string
    Billing consignee name zip
    Example: 521000
  • address1 string
    Billing consignee detailed address ( up to 255 characters )
    Example: Address 1
  • city string
    Billing consignee city ( up to 64 characters )
    Example: New York
  • phone string
    Bill consignee name mobile phone number
    Example: 13890312312
  • first_name string
    Billing consignee name
    Example: Tom
  • last_name string
    Bill consignee last name
    Example: Washington
  • province_code string
    Billing consignee name province encoding
    Example: 4300006
  • company string
    Company name
    Example: new company
  • country_code string
    Billing consignee national encoding
    Example: US
  • name string
    Billing name
    Example: Tom Washington
  • province string
    Billing consignee name province
    Example: California
  • current_total_price string
    Total tax, product tax + shipping tax
    Example: 8.00
  • tax_number string
    TIN
    Example: 111111
  • fulfillmentsobject[]
    Package information
  • tracking_number string
    Third party tracking number
    Example: yun0001
  • tracking_url string
    Logistics company URL
    Example: https://www.sf-international.com/
  • updated_at string
    Update time (see IOS8601 for the format)
    Example: 2012-05-01T14:22:25-04:00
  • name string
    invoice short number
    Example: 1032-F2
  • order_id string
    Order number
    Example: 21056577640603870897253153
  • shipment_status string
    Package tracking
    Example: fulfilled
  • status string
    Logistics delivery status, success-shipped; cancelled-cancelled;
    Example: cancelled
  • created_at string
    Creation time (see IOS8601 for the format)
    Example: 2012-05-01T14:22:25-04:00
  • id string
    Package number
    Example: 22046737798141702810214336
  • line_itemsobject[]
    Product list
  • product_id string
    SPU serial number
    Example: 16056761559984840457934011
  • vendor string
    Supplier
    Example: Supplier
  • title string
    Product title
    Example: Beautiful skirt
  • quantity integer
    Quantity of items in the order
    Example: 1
  • fulfillment_service string
    Logistics company name
    Example: Sf
  • price string
    Commodity price, precision 2
    Example: 23.09
  • requires_shipping boolean
    Shipping or not
  • tax_linesobject[]
    Tax information
  • rate double
    Tax rate
    Example: 1
  • title string
    Tax name
    Example: tax
  • price string
    Tax, precision 2
    Example: 3.25
  • price_setobject
    Multi-currency information of tax
  • presentment_moneyobject
    Currency information
  • amount string
    Amount
    Example: 3.25
  • currency_code string
    Currency
    Example: USD
  • shop_moneyobject
    Sell side amount information
  • currency_code string
    Currency
    Example: USD
  • amount string
    Amount
    Example: 3.25
  • variant_id string
    Product SKU serial number
    Example: 18056761559987524812644011
  • variant_title string
    Commodity attribute value, multiple divided by " / ", such as: "155 / red / large"
    Example: big
  • sku string
    Product code, barCode
    Example: 18056761559987524812644011
  • id string
    The ID of the product snapshot table, generated by the system, uniquely confirms a product with the order number
    Example: 312
  • name string
    SKU title, same as title
    Example: Product name
  • fulfillment_status string
    The shipping status of the product, shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped;
    Example: fulfilled
  • taxable boolean
    Tax or not?
    Example: true
  • fulfillable_quantity integer
    Available quantity
    Example: 1
  • grams double
    Weight ( grams )
    Example: 100
  • attribute string
    Product attributes : name-attribute value multiple comma " , " division like : color-red , size-x
    Example: red
  • tracking_company string
    Logistics company name
    Example: SF International
  • processed_user_id string
    order creator
    Example: 4201057495
  • currency string
    Transaction currency
    Example: USD
  • current_subtotal_price string
    Sum of current products, total price of products * quantity
    Example: 78.08
  • line_itemsobject[]
    Order product snapshot information
  • variant_title string
    Commodity attribute value, multiple divided by " / ", such as: "155 / red / large"
    Example: big
  • vendor string
    Supplier
    Example: Supplier
  • sku string
    Product code, barCode
    Example: 18056761559987524812644011
  • name string
    SKU title, same as title
    Example: Product title
  • tax_linesobject[]
    Tax information
  • price string
    Tax, precision 2
    Example: 3.25
  • price_setobject
    Multi-currency information of tax
  • shop_moneyobject
    Sell side currency
  • currency_code string
    Currency
    Example: USD
  • amount string
    Amount
    Example: 3.25
  • presentment_moneyobject
    Buy side currency
  • amount string
    Amount
    Example: 3.25
  • currency_code string
    Currency
    Example: USD
  • rate double
    Tax rate
    Example: 1
  • title string
    Tax name
    Example: tax
  • type string
    Tax fee type, used to distinguish whether it is commodity tax or freight tax, the enumerated values ​​are as follows product_tax: commodity tax shipping_tax: freight tax
    Example: shipping_tax
  • price string
    Commodity price, precision 2
    Example: 3.25
  • propertiesobject[]
    Product customization information
  • additional string
    Additional Fields for Custom Items
    Example: Additional field
  • name string
    Custom attribute name
    Example: Attribute name
  • type string
    Attribute type, text-character, the display format is name: value; picture-picture, the display type is name: get the rendered thumbnail through URLs; link-hyperlink, the display type is name: value, supports clicking on the link to jump to urls First
    Example: text
  • urls array
    URL resource list
    Example: ["https://www.url.com"]
  • value string
    Custom attribute values
    Example: Attribute value
  • tags string
    Commodity tags (separated by multiple commas)
    Example: Tag 1 , cute
  • variant_id string
    Product SKU serial number
    Example: 18056761559987524812644011
  • fulfillable_quantity integer
    Available quantity
    Example: 1
  • product_id string
    SPU serial number
    Example: 16056761559984840457934011
  • quantity integer
    Quantity of items in the order
    Example: 2
  • attribute string
    Product attributes : name-attribute value multiple comma " , " division like : color-red , size-x
    Example: red
  • grams double
    Weight ( grams )
    Example: 100
  • requires_shipping boolean
    Shipping or not
    Example: true
  • location_id string
    The location corresponding to the store in the pos scene
    Example: 5327026538935748524
  • fulfillment_status string
    The shipping status of the product, shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped;
    Example: fulfilled
  • discount_allocationsobject[]
    Marketing discount detail amount multi-currency
  • amount string
    Discount detail amount
    Example: 8.00
  • amount_setobject
    Discount Details Amount Multi-Currency
  • presentment_moneyobject
    payment currency
  • amount string
    Amount, Precision 2
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • shop_moneyobject
    Store currency
  • currency_code string
    Currency
    Example: USD
  • amount string
    Amount, Precision 2
    Example: 8.00
  • discount_application_index integer
    Indicate the location in the discount details
    Example: 1
  • taxable boolean
    Tax or not?
    Example: true
  • title string
    Product title
    Example: Nice looking skirt
  • fulfillment_service string
    Logistics company name
    Example: Sf
  • id string
    The ID of the product snapshot table, generated by the system, uniquely confirms a product with the order number
    Example: 417
  • name string
    Custom order number
    Example: test1001
  • deduct_member_point_amount string
    Current order member point deduction amount
    Example: 3.25
  • store_id string
    store ID
    Example: 1644828244663
  • total_line_items_price string
    Sum of original prices of goods, precision 2
    Example: 8.00
  • subtotal_price_setobject
    Multi-currency information of total product price after discount
  • presentment_moneyobject
    Buyer side amount information
  • amount string
    Amount, Precision 2
    Example: 3.25
  • currency_code string
    Currency
    Example: USD
  • shop_moneyobject
    Sell side amount information
  • amount string
    Amount, Precision 2
    Example: 3.25
  • currency_code string
    Currency
    Example: USD
  • note string
    Merchant notes
    Example: Notes
  • total_tip_received string
    Tip, precision 2
    Example: 8.00
  • current_total_tax string
    Total tax, product tax + shipping tax
    Example: 8.00
  • total_outstanding string
    Sum of unpaid amount, precision 2
    Example: 8.00
  • app_id string
    App ID
    Example: 222222
  • total_discounts_setobject
    Multi-currency information of discount total
  • presentment_moneyobject
    Buyer side amount information
  • currency_code string
    Currency
    Example: USD
  • amount string
    Amount, Precision 2
    Example: 3.25
  • shop_moneyobject
    Sell side amount information
  • currency_code string
    Currency
    Example: USD
  • amount string
    Amount, Precision 2
    Example: 3.25
  • cancelled_at string
    Order cancellation time (end) (see IOS8601 for the format), 2012-05-01T14:22:25-04:00
    Example: 2012-05-01T14:22:25-04:00
  • total_weight double
    Total product weight ( g )
    Example: 100
  • tags string
    order label
    Example: Tag
  • note_attributesobject[]
    Merchant note log, date content
  • create_time string
    Remark creation time (see IOS8601 for the format)
    Example: 2012-05-01T14:22:25-04:00
  • name string
    Remark source (seller ID)
    Example: Notes source
  • value string
    Notes
    Example: Notes
  • order_status_url string
    Order status page URL
    Example: https://shoptest.myshoplinestg.com/trade/thank_you?mainOrderMark=xxx&mainOrderSeq=200565776406008509
  • tax_linesobject[]
    Tax information
  • price_setobject
    Multi-currency information of tax
  • presentment_moneyobject
    Buyer side amount information
  • amount string
    Amount, Precision 2
    Example: USD
  • currency_code string
    Currency
  • shop_moneyobject
    Sell side amount information
  • amount string
    Amount, Precision 2
    Example: 3.25
  • currency_code string
    Currency
    Example: USD
  • rate double
    Tax rate
    Example: 1
  • title string
    Tax name
    Example: tax
  • price string
    Tax amount
    Example: 3.25
  • presentment_currency string
    Buy side currency, same as sell side currency
    Example: USD
  • cart_token string
    Shopping cart token
    Example: c2c4a58186b9d96395d7e6b5c2969577
  • checkout_token string
    Settlement page token
    Example: c2c4a58186b9d96395d7e6b5c2969577
  • phone string
    Buyer contact information, there must be one of the two
    Example: 12903001000
  • created_at string
    Order creation time (see IOS8601 for the format)
    Example: 2012-05-01T14:22:25-04:00
  • customer_locale string
    Buyer country, language code + country name abbreviation
    Example: enCN
  • total_line_items_price_setobject
    Sum of original price of goods, multi-currency information
  • presentment_moneyobject
    Buyer side amount information
  • amount string
    Amount, Precision 2
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • shop_moneyobject
    Sell side amount information
  • amount string
    Amount, Precision 2
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • payment_detailsobject[]
    Payment slip information
  • create_time string
    Payment slip creation time
    Example: 2012-05-01T14:22:25-04:00
  • order_seq string
    Order number
    Example: 23057287797738260472676128
  • pay_seq string
    Payment slip number
    Example: 23057287797738260472676128
  • processed_at string
    Payment creation time , format : 2023-04-12T22 : 59 : 52+08 : 00
    Example: 2023-04-12T22:59:52+08:00
  • status_code string
    payment status code
    Example: RISK_PENDING
  • status_msg string
    Payment order status code description
    Example: PENDING_REVIEW
  • pay_channel_deal_id string
    External channel payment serial number
    Example: pi_3MI897Hezv8FxjBO1uGxMPhX
  • pay_amount double
    Payment amount
    Example: 3.25
  • pay_status string
    Payment slip status , unpaid- not paid ; pending- paying ; risking- wind control ; paid-paid ; paid_overtime- payment failed ; paid_failed- payment failure ;
    Example: unpaid
  • tax_type string
    Types of tax ID
    Example: type
  • taxes_included boolean
    Does the total include tax?
  • current_total_discounts string
    Sum of discounts, precision 2, marketing offers + artificial discounts
    Example: 3.25
  • total_discounts string
    Total discount, marketing discount + artificial discount
    Example: 3.25
  • refundsobject[]
    Refund list
  • id string
    Refund ID
    Example: 2605659027312156877634
  • note string
    Refund Notes
    Example: Refund Notes
  • order_id string
    Order number
    Example: 21056577640603870897253153
  • processed_at string
    Update time (see IOS8601 for the format)
    Example: 2012-05-02T14:22:25-04:00
  • refund_line_itemsobject[]
    Refund Details
  • total_tax double
    Tax amount of refunded goods, precision 2
  • line_itemobject
    Refund Product line
  • fulfillment_status string
    The shipping status of the product, shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped;
    Example: fulfilled
  • product_id string
    SPU serial number
    Example: 16056761559984840457934011
  • title string
    Product title
    Example: Beautiful skirt
  • requires_shipping boolean
    Shipping or not
    Example: true
  • grams double
    Weight ( grams )
    Example: 100
  • sku string
    Product code, barCode
    Example: 18056761559987524812644011
  • vendor string
    Supplier
    Example: Supplier
  • fulfillable_quantity integer
    Available quantity
    Example: 2
  • taxable boolean
    Tax or not?
    Example: true
  • name string
    SKU title, same as title
    Example: test-002
  • id string
    The ID of the product snapshot table, generated by the system, uniquely confirms a product with the order number
    Example: 312
  • tax_linesobject[]
    Tax information
  • rate double
    Tax rate
    Example: 1
  • title string
    Tax title
    Example: tax
  • price string
    Tax, precision 2
    Example: 3.25
  • price_setobject
    Multi-currency information of tax
  • presentment_moneyobject
    Buy side currency
  • amount string
    Amount, Precision 2
    Example: 3.25
  • currency_code string
    Currency
    Example: USD
  • shop_moneyobject
    Sell side amount information
  • amount string
    Amount
    Example: 3.25
  • currency_code string
    Currency
    Example: USD
  • fulfillment_service string
    Logistics company name
    Example: Sf
  • price string
    Commodity price, precision 2
    Example: 3.25
  • attribute string
    Product attributes : name-attribute value multiple comma " , " division like : color-red , size-x
    Example: red
  • quantity integer
    Quantity of items in the order
    Example: 2
  • variant_title string
    Commodity attribute value, multiple divided by " / ", such as: "155 / red / large"
    Example: big
  • variant_id string
    Product SKU serial number
    Example: 18056761559987524812644011
  • line_item_id string
    The ID of the product snapshot table, generated by the system, uniquely confirms a product with the order number
    Example: 302
  • quantity integer
    Quantity, quantity of goods
    Example: 2
  • restock_type string
    Inventory return type, no_restock-not returned, cancel-cancelled, return-returned only not returned
    Example: no_restock
  • total_tax_setobject
    Total tax amount, multi-currency information
  • presentment_moneyobject
    Buy side currency
  • amount string
    Amount
    Example: 3.25
  • currency_code string
    Currency
    Example: USD
  • shop_moneyobject
    Sell side currency
  • currency_code string
    Currency
    Example: USD
  • amount string
    Amount
    Example: 3.25
  • id string
    Order number for this adjustment of the single link
    Example: 2605659027312156877634
  • subtotal double
    Total refund amount, precision 2
    Example: 3.25
  • subtotal_setobject
    Total refund amount, multi-currency information, same on seller and buyer side
  • shop_moneyobject
    Sell side amount information
  • amount string
    Amount, Precision 2
    Example: 3.25
  • currency_code string
    Currency
    Example: USD
  • presentment_moneyobject
    Buy side currency
  • amount string
    Amount
    Example: 3.25
  • currency_code string
    Currency
    Example: USD
  • transactionsobject[]
    Refund transaction information
  • id string
    Refund ID
    Example: 2605659027312156877634
  • status string
    Handling status, pending, failure, success, and error
    Example: pending
  • currency string
    Currency
    Example: USD
  • order_id string
    Order number
    Example: 21056577640603870897253153
  • user_id string
    Buyer ID
    Example: 4201057495
  • processed_at string
    Refund order update time ( format see IOS8601 )
    Example: 2012-05-01T14:22:25-04:00
  • amount string
    Refund amount , accuracy 2
    Example: 3.25
  • created_at string
    Creation time
    Example: 2012-05-01T14:22:25-04:00
  • kind string
    Transaction type (authorization, capture, sale, void, refund)
    Example: authorization
  • user_id string
    User ID
    Example: 4201057495
  • created_at string
    Refund form creation time (see IOS8601 for the format)
    Example: 2012-05-01T14:22:25-04:00
  • user_id string
    Buyer ID
    Example: 4201057495
  • discount_codesobject[]
    Promo code information
  • code string
    Promo code
    Example: KIN4GNAB2FRH
  • type string
    Type of discount, reduced amount; discount; free shipping; fixed price; the lowest price item is free; package price; the Nth item is discounted;
    Example: deduction amount
  • amount string
    Discount amount, precision 2
    Example: 3.25
  • cancel_reason string
    Seller's reason for cancellation
    Example: " don ' t want to buy "
  • subtotal_price string
    Total product price after discount, total product price - marketing discount - artificial discount
    Example: 3.25
  • shipping_addressobject
    Shipping address
  • province_code string
    Province code
    Example: 4200006
  • latitude string
    Latitude
    Example: 15
  • address1 string
    Address 1
    Example: Address 1
  • city string
    City
    Example: New York
  • last_name string
    First name
    Example: Washington
  • country string
    Country
    Example: Usa
  • phone string
    Phone
    Example: 1320987655
  • zip string
    Postal code
    Example: 92503
  • longitude string
    Longitude
    Example: 41
  • address2 string
    Detailed address 2, optional
    Example: Address 2
  • country_code string
    Country code
    Example: US
  • company string
    Company name
    Example: New company name
  • name string
    Full name
    Example: Tom Washington
  • first_name string
    Last name
    Example: Tom
  • province string
    Province
    Example: California
  • total_shipping_price_setobject
    Order shipping sum, multi-currency information
  • shop_moneyobject
    Sell side amount information
  • currency_code string
    Currency
    Example: USD
  • amount string
    Amount, Precision 2
    Example: 8.00
  • presentment_moneyobject
    Buyer side amount information
  • amount string
    Amount, Precision 2
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • updated_at string
    Order update time, (see IOS8601 for the format)
    Example: 2012-05-01T14:22:25-04:00
  • checkout_id string
    Discard id
    Example: 2404785166526352972864
  • shipping_linesobject[]
    Logistics information
  • source string
    Shipping source
    Example: source
  • discounted_price string
    Discount amount, precision 2
    Example: 8.00
  • price_setobject
    Logistics freight multi-resource information
  • presentment_moneyobject
    Buyer side amount information
  • amount string
    Amount, Precision 2
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • shop_moneyobject
    Amount information on the store side
  • amount string
    Amount, Precision 2
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • discount_allocationsobject[]
    Discount Details
  • amount string
    Discount amount, precision 2
    Example: 8.00
  • amount_setobject
    Discount Multi-Currency Amount
  • shop_moneyobject
    Amount information on the store side
  • amount string
    Amount, Precision 2
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • presentment_moneyobject
    Buyer side amount information
  • amount string
    Amount, Precision 2
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • discount_application_index integer
    Discount index information : marked in the position of the discount details
    Example: 1
  • phone string
    Phone
    Example: 13243214565
  • tax_linesobject[]
    Logistics tax list
  • price string
    tax
    Example: 8.00
  • price_setobject
    Multi-currency information of tax
  • presentment_moneyobject
    Buyer side amount information
  • amount string
    Amount
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • shop_moneyobject
    Sell side amount information
  • amount string
    Amount, Precision 2
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • rate double
    Tax rate
    Example: 1
  • title string
    Tax name
    Example: tax
  • title string
    Logistics name
    Example: SF International
  • discounted_price_setobject
    Discount Multi-Currency Amount
  • presentment_moneyobject
    Buyer side amount information
  • currency_code string
    Currency
    Example: USD
  • amount string
    Amount, Precision 2
    Example: 8.00
  • shop_moneyobject
    Amount information on the store side
  • amount string
    Amount, Precision 2
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • requested_fulfillment_service_id string
    Transportation service code
    Example: LX88888
  • shipping_price string
    The value of the original shipping fee (not the amount after the discount)
    Example: 8.00
  • code string
    Logistics number
    Example: SF
  • price string
    Logistics freight, precision 2
    Example: 8.00
  • total_tax string
    Sum of taxes, precision 2, commodity tax + shipping tax
    Example: 8.00
  • current_subtotal_price_setobject
    Multi-currency information of the current commodity sum, the buyer's and seller's currency and the amount are the same
  • presentment_moneyobject
    Buy side currency
  • amount string
    Amount
    Example: 78.08
  • currency_code string
    Currency
    Example: USD
  • shop_moneyobject
    Sell side amount
  • currency_code string
    Currency code
    Example: USD
  • amount string
    Amount, Precision 2
    Example: 78.08
  • current_total_price_setobject
    Multi-currency information of the sum of taxes, the currency and amount of buyers and sellers are the same
  • shop_moneyobject
    Sell side currency
  • amount string
    Amount
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • presentment_moneyobject
    Buy side currency
  • amount string
    Amount
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • current_total_tax_setobject
    Multi-currency information of the sum of taxes, the currency and amount of buyers and sellers are the same
  • presentment_moneyobject
    Buy side currency
  • amount string
    Amount
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • shop_moneyobject
    Sell side currency
  • amount string
    Amount
    Example: 8.00
  • currency_code string
    Currency
    Example: USD
  • credit_limitobject
    credit payment
  • outstanding_credit_limit string
    Total credit limit occupied by the order
    Example: 1.00
  • total_credit_limit string
    Total credit limit used for the order
    Example: 1.00
  • credit_limit_currency string
    Currency of the credit limit, currently in store currency
    Example: USD
  • is_credit_limit boolean
    Whether the order used credit payment true: Used false: Not used
    Example: true
  • discount_applicationsobject[]
    Discount information
  • value_type string
    % discount , amount discount
    Example: fixed_amount
  • allocation_method string
    1 ) across ( the value is distributed in all authorized lines ) 2 ) the ach ( the value is applied to each authorized line )
    Example: across
  • description string
    Description of custom discount
    Example: Discount description
  • code string
    Discount code
    Example: 1Q3UMQM8RBP5
  • target_selection string
    1 ) explicit ( discount distribution to clear selection ) 2 ) all ( discount distribution to all lines ) 3 ) ENTITLED ( discount distribution only to the line that its right to use )
    Example: explicit
  • title string
    automatic discount title
    Example: Discount title
  • type string
    Discount type
    Example: manual
  • target_type string
    1)line_item、shipping_line
    Example: line_item
  • value string
    The specific value of the discount ( it can be n-fold , or it can be the specific amount value )
    Example: 20
  • fulfillment_status string
    Shipping status, fulfilled-shipped; partial-partially shipped; null-unshipped; Note: the returned enum value is different from the query enumeration value of the input parameter
    Example: fulfilled
  • processed_at string
    Processed_at time , format : 2023-04-12T22 : 59 : 52+08 : 00
    Example: 2023-04-12T22:59:52+08:00
  • customerobject
    Buyer information
  • last_name string
    Last name
    Example: Washington
  • phone string
    User mobile phone number
    Example: 19872121232
  • updated_at string
    Buyer update time
    Example: 2012-05-01T14:22:25-04:00
  • area_code string
    Phone area code
    Example: +86
  • first_name string
    First name
    Example: Tom
  • id string
    User ID
    Example: 4201057495
  • addressesobject
    Buyer address information
  • address2 string
    Detailed address 2, optional
    Example: Address 2
  • first_name string
    Last name
    Example: Tom
  • address1 string
    Detailed address 1
    Example: Address 1
  • phone string
    Phone
    Example: 13652133421
  • province string
    Province
    Example: California
  • province_code string
    Province code
    Example: 4300006
  • zip string
    Postal code
    Example: 52134
  • city string
    City
    Example: New York
  • country string
    Country
    Example: Usa
  • name string
    Full name
    Example: Tom Washington
  • country_code string
    Country code
    Example: US
  • last_name string
    First name
    Example: Washington
  • created_at string
    Buyer creation time (see IOS8601 for the format)
    Example: 2012-05-01T14:22:25-04:00
  • email string
    User mailbox
    Example: test001@Gmail.com
  • currency string
    Currency
    Example: USD
  • payment_gateway_names array
    List of payment methods, list of payment methods used for this order, SLpayments, Paypal (PayPal payment), Oceanpay (Oceanpayment), TwoCheckout, AsiaBill, Stripe, Pacypay, WorldPay, COD (cash on delivery), CUSTOM (custom), adjustPay (funding adjustment), Xendit (xendit credit card), XenditOther
    Example: ["PayPal"]
  • browser_ip string
    Client IP
    Example: 157.119.232.35
  • user_errorsobject[]
    Error prompt information in this execution , if the implementation result is wrong , this field will return error information
  • field array
    Path that causes incorrect input fields
    Example: [""]
  • message string
    Error message
  • code string
    Wrong code
    Example: illegal param
API Explorer
https://openapiceshidianpu.myshopline.com/admin/openapi/v20260301

ParamOptions

header required

Body

required
{
  "request": {
    "id": "2108973455469898",
    "notify_customer": false
  }
}

Language

curl --request POST \
--url https://openapiceshidianpu.myshopline.com/admin/openapi/v20260301/orders/order_edit_commit.json \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJhcHBLZXkiOiJmMjM3OWQyMTYyOGMzM2QxMWRiMWZkYjY5N2EzZjdjMjZlNGMwYTA5Iiwic2VsbGVySWQiOiIyMDAwMjM0ODgwIiwic3RvcmVJZCI6IjE2NzIzNjk3Mjk2MDYiLCJ2ZXJzaW9uIjoiVjIiLCJkb21haW4iOiJodHRwczovL3NsLW9wZW4tc2cubXlzaG9wbGluZS5jb20iLCJ0aW1lc3RhbXAiOjE2NzUzMTk0OTI0MzksImlzcyI6Inlzb3VsIiwiZXhwIjoxNzY5OTI3NDkyfQ.UwQzomM2veGCUaOZ0paUxq5dpc7DXuhHYFvsQ_uIAKduzWcb_j2E4q_36El83sp145D4cKbpcE5KCeeIz-JNQw' \
--header 'Content-Type: application/json; charset=utf-8' \
--header 'accept: application/json'
Was this article helpful to you?