ポスト

Create Order


Deprecated

This method has been replaced with CreateOrder, and will be removed on September 4, 2024.

Deprecation Notice:

This endpoint has been replaced with eCommerce Create Order and will be removed on September 4, 2024.

Creates a new order.

注釈

  • Only orders with the paymentStatus parameter set as "PAID" または "NOT_PAID" will show up in the site owner's Stores Orders tab in their dashboard.
  • について billingInfo.paymentProviderTransactionId そして billingInfo.paymentMethod parameters can only be passed when paymentStatus is PAID.
  • について billingInfo.address parameter is required unless channelInfo.type: "POS".
  • について shippingInfo.shipmentDetails.address parameter is required unless one of the following is true:
    • について shippingInfo.pickupDetails is passed instead
    • channelInfo.type: "POS"
    • All order items are of type digital - lineItems.lineItemType: "DIGITAL".
  • When passing lineItems.variantId, lineItems.options is required.
  • When passing lineItems.productId, lineItem.lineItemType is limited to "PHYSICAL".
  • When not passing lineItems.productId, lineItem.lineItemType is limited to "CUSTOM_AMOUNT_ITEM".
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage eCommerce - all permissions
Manage Stores - all permissions
Manage Orders
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/stores/v2/orders

役に立ちましたか?
はい
いいえ