updateOrder( )


Updates an order.

について updateOrder() function returns a Promise that resolves when the specified order's information is updated.

Currently, the following fields can be updated:

  • order.buyerInfo.email
  • order.buyerLanguage
  • order.weightUnit
  • order.billingInfo.address
  • order.billingInfo.contactDetails
  • order.archived
  • order.attributionSource
  • order.seenByAHuman
  • order.recipientInfo.address
  • order.recipientInfo.contactDetails
  • order.shippingInfo.logistics.shippingDestination.address
  • order.shippingInfo.logistics.shippingDestination.contactDetails

To update a field's value, include the new value in the order object in the method parameters. To remove a field's value, pass null.

注: Removing buyerInfo または contactDetails fields results in an error.

To update an order's payment status, use updatePaymentStatus( ).

Permissions
Manage Stores - all permissions
Manage Restaurants - all permissions
Manage eCommerce - all permissions
Manage Orders
Learn more about app permissions.
メソッド宣言
コピー
メソッド・パラメータ
_idstringRequired

Order ID.


orderUpdateOrderRequired
リターン
Return Type:Promise<Order>
役に立ちましたか?
はい
いいえ