> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Method name: removeCoupon(_id: string)

# Method package: wixEcomBackend

# Method menu location: wixEcomBackend --> checkout --> removeCoupon

# Method Link: https://dev.wix.com/docs/velo/apis/wix-ecom-backend/checkout/remove-coupon.md

# Method Description:

Removes the coupon from a specified checkout.


The `removeCoupon()` function returns a Promise that resolves to the updated checkout when the coupon is removed from the specified checkout.

>**Note:** A checkout can only hold 1 coupon.



# Method Code Examples:

*** Note: do not assume any prop names or enum values other than the ones in the example.

## Remove coupon from a checkout

```javascript
/**************************************
 * Backend code - my-backend-file.jsw *
 **************************************/

import { checkout } from 'wix-ecom-backend';

export async function myRemoveCouponFunction(checkoutId) {
  try {
    const updatedCheckout = await checkout.removeCoupon(checkoutId);
    console.log('Success! Updated checkout:', updatedCheckout);
    return updatedCheckout;
  } catch (error) {
    console.error(error);
    // Handle the error
  }
}

/*************
 * Page code *
 ************/

import { myRemoveCouponFunction } from 'backend/my-backend-file';

// Sample checkoutId:
const checkoutId = '75b0d071-8ca0-4227-962f-91d0605c8c3a';

myRemoveCouponFunction(checkoutId)
  .then((updatedCheckout) => {
    const checkoutId = updatedCheckout._id;
    const appliedDiscounts = updatedCheckout.appliedDiscounts;
    // appliedCoupon boolean value is false if no coupon exists on checkout
    const appliedCoupon = appliedDiscounts.some(({ coupon }) => coupon);

    console.log('Success! Updated checkout:', updatedCheckout);
    return updatedCheckout;
  })
  .catch((error) => {
    console.error(error);
    // Handle the error
  });

/* Promise resolves to:
 *
 * {
 *   "_id": "75b0d071-8ca0-4227-962f-91d0605c8c3a",
 *   "lineItems": [
 *     {
 *       "_id": "00000000-0000-0000-0000-000000000001",
 *       "quantity": 3,
 *       "catalogReference": {
 *         "catalogItemId": "c8539b66-7a44-fe18-affc-afec4be8562a",
 *         "appId": "215238eb-22a5-4c36-9e7b-e7c08025e04e"
 *       },
 *       "productName": {
 *         "original": "Shirt",
 *         "translated": "Shirt"
 *       },
 *       "url": "https://example.wixsite.com",
 *       "price": {
 *         "amount": "10",
 *         "convertedAmount": "10",
 *         "formattedAmount": "$10.00",
 *         "formattedConvertedAmount": "$10.00"
 *       },
 *       "lineItemPrice": {
 *         "amount": "30",
 *         "convertedAmount": "30",
 *         "formattedAmount": "$30.00",
 *         "formattedConvertedAmount": "$30.00"
 *       },
 *       "fullPrice": {
 *         "amount": "10",
 *         "convertedAmount": "10",
 *         "formattedAmount": "$10.00",
 *         "formattedConvertedAmount": "$10.00"
 *       },
 *       "priceBeforeDiscounts": {
 *         "amount": "10",
 *         "convertedAmount": "10",
 *         "formattedAmount": "$10.00",
 *         "formattedConvertedAmount": "$10.00"
 *       },
 *       "totalPriceAfterTax": {
 *         "amount": "30",
 *         "convertedAmount": "30",
 *         "formattedAmount": "$30.00",
 *         "formattedConvertedAmount": "$30.00"
 *       },
 *       "totalPriceBeforeTax": {
 *         "amount": "30",
 *         "convertedAmount": "30",
 *         "formattedAmount": "$30.00",
 *         "formattedConvertedAmount": "$30.00"
 *       },
 *       "taxDetails": {
 *         "taxableAmount": {
 *           "amount": "30",
 *           "convertedAmount": "30",
 *           "formattedAmount": "$30.00",
 *           "formattedConvertedAmount": "$30.00"
 *         },
 *         "taxRate": "0",
 *         "totalTax": {
 *           "amount": "0",
 *           "convertedAmount": "0",
 *           "formattedAmount": "$0.00",
 *           "formattedConvertedAmount": "$0.00"
 *         },
 *         "rateBreakdown": []
 *       },
 *       "discount": {
 *         "amount": "0",
 *         "convertedAmount": "0",
 *         "formattedAmount": "$0.00",
 *         "formattedConvertedAmount": "$0.00"
 *       },
 *       "descriptionLines": [],
 *       "media": "wix:image://v1/3c76e2_c5331f937348492a97df87b0a3b34ea4~mv2.jpg#originWidth=1000&originHeight=1000",
 *       "availability": {
 *         "status": "AVAILABLE"
 *       },
 *       "physicalProperties": {
 *         "sku": "364115376135191",
 *         "shippable": true
 *       },
 *       "couponScopes": [
 *         {
 *           "namespace": "stores",
 *           "group": {
 *             "name": "collection",
 *             "entityId": "00000000-000000-000000-000000000001"
 *           }
 *         },
 *         {
 *           "namespace": "stores",
 *           "group": {
 *             "name": "product",
 *             "entityId": "c8539b66-7a44-fe18-affc-afec4be8562a"
 *           }
 *         }
 *       ],
 *       "itemType": {
 *         "preset": "PHYSICAL"
 *       },
 *       "paymentOption": "FULL_PAYMENT_ONLINE",
 *       "rootCatalogItemId": "c8539b66-7a44-fe18-affc-afec4be8562a"
 *     },
 *     {
 *       "_id": "00000000-0000-0000-0000-000000000002",
 *       "quantity": 1,
 *       "catalogReference": {
 *         "catalogItemId": "df19c1f7-07d8-a265-42f8-e8dfa824cc6e",
 *         "appId": "215238eb-22a5-4c36-9e7b-e7c08025e04e",
 *         "options": {
 *           "variantId": "2f430d69-9b75-4874-bfbd-c5f6fa5aff3d",
 *           "customTextFields": {
 *             "birthday card": "Happy Birthday!"
 *           }
 *         }
 *       },
 *       "productName": {
 *         "original": "Shoe",
 *         "translated": "Shoe"
 *       },
 *       "url": "https://example.wixsite.com",
 *       "price": {
 *         "amount": "85",
 *         "convertedAmount": "85",
 *         "formattedAmount": "$85.00",
 *         "formattedConvertedAmount": "$85.00"
 *       },
 *       "lineItemPrice": {
 *         "amount": "85",
 *         "convertedAmount": "85",
 *         "formattedAmount": "$85.00",
 *         "formattedConvertedAmount": "$85.00"
 *       },
 *       "fullPrice": {
 *         "amount": "85",
 *         "convertedAmount": "85",
 *         "formattedAmount": "$85.00",
 *         "formattedConvertedAmount": "$85.00"
 *       },
 *       "priceBeforeDiscounts": {
 *         "amount": "85",
 *         "convertedAmount": "85",
 *         "formattedAmount": "$85.00",
 *         "formattedConvertedAmount": "$85.00"
 *       },
 *       "totalPriceAfterTax": {
 *         "amount": "85",
 *         "convertedAmount": "85",
 *         "formattedAmount": "$85.00",
 *         "formattedConvertedAmount": "$85.00"
 *       },
 *       "totalPriceBeforeTax": {
 *         "amount": "85",
 *         "convertedAmount": "85",
 *         "formattedAmount": "$85.00",
 *         "formattedConvertedAmount": "$85.00"
 *       },
 *       "taxDetails": {
 *         "taxableAmount": {
 *           "amount": "85",
 *           "convertedAmount": "85",
 *           "formattedAmount": "$85.00",
 *           "formattedConvertedAmount": "$85.00"
 *         },
 *         "taxRate": "0",
 *         "totalTax": {
 *           "amount": "0",
 *           "convertedAmount": "0",
 *           "formattedAmount": "$0.00",
 *           "formattedConvertedAmount": "$0.00"
 *         },
 *         "rateBreakdown": []
 *       },
 *       "discount": {
 *         "amount": "0",
 *         "convertedAmount": "0",
 *         "formattedAmount": "$0.00",
 *         "formattedConvertedAmount": "$0.00"
 *       },
 *       "descriptionLines": [
 *         {
 *           "name": {
 *             "original": "Color",
 *             "translated": "Color"
 *           },
 *           "colorInfo": {
 *             "original": "Brown",
 *             "translated": "Brown",
 *             "code": "#783f04"
 *           },
 *           "lineType": "COLOR",
 *           "color": "Brown"
 *         },
 *         {
 *           "name": {
 *             "original": "birthday card",
 *             "translated": "birthday card"
 *           },
 *           "plainText": {
 *             "original": "Happy Birthday!",
 *             "translated": "Happy Birthday!"
 *           },
 *           "lineType": "PLAIN_TEXT",
 *           "plainTextValue": {
 *             "original": "Happy Birthday!",
 *             "translated": "Happy Birthday!"
 *           }
 *         }
 *       ],
 *       "media": "wix:image://v1/3c76e2_bf235c38610f4d2a905db71095b351cf~mv2.jpg#originWidth=1000&originHeight=1000",
 *       "availability": {
 *         "status": "AVAILABLE",
 *         "quantityAvailable": 30
 *       },
 *       "physicalProperties": {
 *         "sku": "364215376135191",
 *         "shippable": true
 *       },
 *       "couponScopes": [
 *         {
 *           "namespace": "stores",
 *           "group": {
 *             "name": "collection",
 *             "entityId": "00000000-000000-000000-000000000001"
 *           }
 *         },
 *         {
 *           "namespace": "stores",
 *           "group": {
 *             "name": "product",
 *             "entityId": "df19c1f7-07d8-a265-42f8-e8dfa824cc6e"
 *           }
 *         }
 *       ],
 *       "itemType": {
 *         "preset": "PHYSICAL"
 *       },
 *       "paymentOption": "FULL_PAYMENT_ONLINE",
 *       "rootCatalogItemId": "df19c1f7-07d8-a265-42f8-e8dfa824cc6e"
 *     },
 *     {
 *       "_id": "00000000-0000-0000-0000-000000000003",
 *       "quantity": 1,
 *       "catalogReference": {
 *         "catalogItemId": "9fe8c5b2-9c94-7153-ebb9-8533695e2b6f",
 *         "appId": "215238eb-22a5-4c36-9e7b-e7c08025e04e",
 *         "options": {
 *           "Size": "Large",
 *           "Color": "White"
 *         }
 *       },
 *       "price": {
 *         "amount": "0",
 *         "convertedAmount": "0",
 *         "formattedAmount": "$0.00",
 *         "formattedConvertedAmount": "$0.00"
 *       },
 *       "fullPrice": {
 *         "amount": "0",
 *         "convertedAmount": "0",
 *         "formattedAmount": "$0.00",
 *         "formattedConvertedAmount": "$0.00"
 *       },
 *       "priceBeforeDiscounts": {
 *         "amount": "0",
 *         "convertedAmount": "0",
 *         "formattedAmount": "$0.00",
 *         "formattedConvertedAmount": "$0.00"
 *       },
 *       "descriptionLines": [],
 *       "availability": {
 *         "status": "NOT_FOUND"
 *       },
 *       "couponScopes": [],
 *       "paymentOption": "FULL_PAYMENT_ONLINE"
 *     }
 *   ],
 *   "billingInfo": {
 *     "address": {
 *       "addressLine1": "235 West 23rd Street",
 *       "addressLine2": "3rd floor",
 *       "city": "New York",
 *       "subdivision": "US-NY",
 *       "country": "US",
 *       "postalCode": "10011"
 *     },
 *     "contactDetails": {
 *       "firstName": "Jane",
 *       "lastName": "Doe",
 *       "phone": "+1234567890"
 *     }
 *   },
 *   "shippingInfo": {
 *     "shippingDestination": {
 *       "address": {
 *         "addressLine1": "235 West 23rd Street",
 *         "addressLine2": "3rd floor",
 *         "city": "New York",
 *         "subdivision": "US-NY",
 *         "country": "US",
 *         "postalCode": "10011"
 *       },
 *       "contactDetails": {
 *         "firstName": "Jane",
 *         "lastName": "Doe",
 *         "phone": "+1234567890"
 *       }
 *     },
 *     "selectedCarrierServiceOption": {
 *       "code": "ed5bbce2-9533-dff4-7db0-13702fd139c5",
 *       "title": "Standard US Shipping",
 *       "logistics": {
 *         "deliveryTime": ""
 *       },
 *       "cost": {
 *         "totalPriceAfterTax": {
 *           "amount": "10",
 *           "convertedAmount": "10",
 *           "formattedAmount": "$10.00",
 *           "formattedConvertedAmount": "$10.00"
 *         },
 *         "totalPriceBeforeTax": {
 *           "amount": "10",
 *           "convertedAmount": "10",
 *           "formattedAmount": "$10.00",
 *           "formattedConvertedAmount": "$10.00"
 *         },
 *         "taxDetails": {
 *           "taxRate": "0",
 *           "totalTax": {
 *             "amount": "0",
 *             "convertedAmount": "0",
 *             "formattedAmount": "$0.00",
 *             "formattedConvertedAmount": "$0.00"
 *           },
 *           "rateBreakdown": []
 *         },
 *         "price": {
 *           "amount": "10",
 *           "convertedAmount": "10",
 *           "formattedAmount": "$10.00",
 *           "formattedConvertedAmount": "$10.00"
 *         }
 *       },
 *       "requestedShippingOption": true,
 *       "otherCharges": [],
 *       "carrierId": "c8a08776-c095-4dec-8553-8f9698d86adc"
 *     },
 *     "region": {
 *       "_id": "009fbe5d-89d3-7825-cbbf-1aab4d908b73",
 *       "name": "USA shipping"
 *     },
 *     "carrierServiceOptions": [
 *       {
 *         "carrierId": "c8a08776-c095-4dec-8553-8f9698d86adc",
 *         "shippingOptions": [
 *           {
 *             "code": "ed5bbce2-9533-dff4-7db0-13702fd139c5",
 *             "title": "Standard US Shipping",
 *             "logistics": {
 *               "deliveryTime": ""
 *             },
 *             "cost": {
 *               "price": {
 *                 "amount": "10",
 *                 "convertedAmount": "10",
 *                 "formattedAmount": "$10.00",
 *                 "formattedConvertedAmount": "$10.00"
 *               },
 *               "otherCharges": []
 *             }
 *           }
 *         ]
 *       }
 *     ]
 *   },
 *   "buyerNote": "Please wrap it up as a present",
 *   "buyerInfo": {
 *     "contactId": "f7dc17a6-825a-466e-a78e-c4abea0217db",
 *     "email": "Janedoe@example.com",
 *     "memberId": "c43190d2-eea3-493e-b6e8-f146850c6873"
 *   },
 *   "conversionCurrency": "USD",
 *   "priceSummary": {
 *     "subtotal": {
 *       "amount": "115",
 *       "convertedAmount": "115",
 *       "formattedAmount": "$115.00",
 *       "formattedConvertedAmount": "$115.00"
 *     },
 *     "shipping": {
 *       "amount": "10",
 *       "convertedAmount": "10",
 *       "formattedAmount": "$10.00",
 *       "formattedConvertedAmount": "$10.00"
 *     },
 *     "tax": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "discount": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "total": {
 *       "amount": "125",
 *       "convertedAmount": "125",
 *       "formattedAmount": "$125.00",
 *       "formattedConvertedAmount": "$125.00"
 *     },
 *     "additionalFees": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     }
 *   },
 *   "calculationErrors": {
 *     "orderValidationErrors": []
 *   },
 *   "appliedDiscounts": [],
 *   "customFields": [
 *     {
 *       "value": "12345",
 *       "title": "Tax ID",
 *       "translatedTitle": "Tax ID"
 *     }
 *   ],
 *   "weightUnit": "KG",
 *   "currency": "USD",
 *   "channelType": "WEB",
 *   "siteLanguage": "en",
 *   "buyerLanguage": "en",
 *   "completed": false,
 *   "taxIncludedInPrice": false,
 *   "createdBy": {
 *     "memberId": "c43190d2-eea3-493e-b6e8-f146850c6873"
 *   },
 *   "_createdDate": "2022-10-19T14:22:03.847Z",
 *   "_updatedDate": "2022-10-19T14:22:30.842Z",
 *   "payNow": {
 *     "subtotal": {
 *       "amount": "115",
 *       "convertedAmount": "115",
 *       "formattedAmount": "$115.00",
 *       "formattedConvertedAmount": "$115.00"
 *     },
 *     "shipping": {
 *       "amount": "10",
 *       "convertedAmount": "10",
 *       "formattedAmount": "$10.00",
 *       "formattedConvertedAmount": "$10.00"
 *     },
 *     "tax": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "discount": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "total": {
 *       "amount": "125",
 *       "convertedAmount": "125",
 *       "formattedAmount": "$125.00",
 *       "formattedConvertedAmount": "$125.00"
 *     },
 *     "additionalFees": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     }
 *   },
 *   "payLater": {
 *     "subtotal": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "shipping": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "tax": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "discount": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "total": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "additionalFees": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     }
 *   },
 *   "membershipOptions": {
 *     "eligibleMemberships": [],
 *     "invalidMemberships": [],
 *     "selectedMemberships": {
 *       "memberships": []
 *     }
 *   },
 *   "additionalFees": []
 * }
 *
 */

```

## Remove coupon from a checkout (export from backend code)

```javascript
/**************************************
 * Backend code - my-backend-file.web.js *
 **************************************/

import { Permissions, webMethod } from 'wix-web-module';
import { checkout } from 'wix-ecom-backend';

export const myRemoveCouponFunction = webMethod(Permissions.Anyone, async (checkoutId) => {
  try {
    const updatedCheckout = await checkout.removeCoupon(checkoutId);
    console.log('Success! Updated checkout:', updatedCheckout);
    return updatedCheckout;
  } catch (error) {
    console.error(error);
    // Handle the error
  }
});

/*************
 * Page code *
 ************/

import { myRemoveCouponFunction } from 'backend/my-backend-file.web';

// Sample checkoutId:
const checkoutId = '75b0d071-8ca0-4227-962f-91d0605c8c3a';

myRemoveCouponFunction(checkoutId)
  .then((updatedCheckout) => {
    const checkoutId = updatedCheckout._id;
    const appliedDiscounts = updatedCheckout.appliedDiscounts;
    // appliedCoupon boolean value is false if no coupon exists on checkout
    const appliedCoupon = appliedDiscounts.some(({ coupon }) => coupon);

    console.log('Success! Updated checkout:', updatedCheckout);
    return updatedCheckout;
  })
  .catch((error) => {
    console.error(error);
    // Handle the error
  });

/* Promise resolves to:
 *
 * {
 *   "_id": "75b0d071-8ca0-4227-962f-91d0605c8c3a",
 *   "lineItems": [
 *     {
 *       "_id": "00000000-0000-0000-0000-000000000001",
 *       "quantity": 3,
 *       "catalogReference": {
 *         "catalogItemId": "c8539b66-7a44-fe18-affc-afec4be8562a",
 *         "appId": "215238eb-22a5-4c36-9e7b-e7c08025e04e"
 *       },
 *       "productName": {
 *         "original": "Shirt",
 *         "translated": "Shirt"
 *       },
 *       "url": "https://example.wixsite.com",
 *       "price": {
 *         "amount": "10",
 *         "convertedAmount": "10",
 *         "formattedAmount": "$10.00",
 *         "formattedConvertedAmount": "$10.00"
 *       },
 *       "lineItemPrice": {
 *         "amount": "30",
 *         "convertedAmount": "30",
 *         "formattedAmount": "$30.00",
 *         "formattedConvertedAmount": "$30.00"
 *       },
 *       "fullPrice": {
 *         "amount": "10",
 *         "convertedAmount": "10",
 *         "formattedAmount": "$10.00",
 *         "formattedConvertedAmount": "$10.00"
 *       },
 *       "priceBeforeDiscounts": {
 *         "amount": "10",
 *         "convertedAmount": "10",
 *         "formattedAmount": "$10.00",
 *         "formattedConvertedAmount": "$10.00"
 *       },
 *       "totalPriceAfterTax": {
 *         "amount": "30",
 *         "convertedAmount": "30",
 *         "formattedAmount": "$30.00",
 *         "formattedConvertedAmount": "$30.00"
 *       },
 *       "totalPriceBeforeTax": {
 *         "amount": "30",
 *         "convertedAmount": "30",
 *         "formattedAmount": "$30.00",
 *         "formattedConvertedAmount": "$30.00"
 *       },
 *       "taxDetails": {
 *         "taxableAmount": {
 *           "amount": "30",
 *           "convertedAmount": "30",
 *           "formattedAmount": "$30.00",
 *           "formattedConvertedAmount": "$30.00"
 *         },
 *         "taxRate": "0",
 *         "totalTax": {
 *           "amount": "0",
 *           "convertedAmount": "0",
 *           "formattedAmount": "$0.00",
 *           "formattedConvertedAmount": "$0.00"
 *         },
 *         "rateBreakdown": []
 *       },
 *       "discount": {
 *         "amount": "0",
 *         "convertedAmount": "0",
 *         "formattedAmount": "$0.00",
 *         "formattedConvertedAmount": "$0.00"
 *       },
 *       "descriptionLines": [],
 *       "media": "wix:image://v1/3c76e2_c5331f937348492a97df87b0a3b34ea4~mv2.jpg#originWidth=1000&originHeight=1000",
 *       "availability": {
 *         "status": "AVAILABLE"
 *       },
 *       "physicalProperties": {
 *         "sku": "364115376135191",
 *         "shippable": true
 *       },
 *       "couponScopes": [
 *         {
 *           "namespace": "stores",
 *           "group": {
 *             "name": "collection",
 *             "entityId": "00000000-000000-000000-000000000001"
 *           }
 *         },
 *         {
 *           "namespace": "stores",
 *           "group": {
 *             "name": "product",
 *             "entityId": "c8539b66-7a44-fe18-affc-afec4be8562a"
 *           }
 *         }
 *       ],
 *       "itemType": {
 *         "preset": "PHYSICAL"
 *       },
 *       "paymentOption": "FULL_PAYMENT_ONLINE",
 *       "rootCatalogItemId": "c8539b66-7a44-fe18-affc-afec4be8562a"
 *     },
 *     {
 *       "_id": "00000000-0000-0000-0000-000000000002",
 *       "quantity": 1,
 *       "catalogReference": {
 *         "catalogItemId": "df19c1f7-07d8-a265-42f8-e8dfa824cc6e",
 *         "appId": "215238eb-22a5-4c36-9e7b-e7c08025e04e",
 *         "options": {
 *           "variantId": "2f430d69-9b75-4874-bfbd-c5f6fa5aff3d",
 *           "customTextFields": {
 *             "birthday card": "Happy Birthday!"
 *           }
 *         }
 *       },
 *       "productName": {
 *         "original": "Shoe",
 *         "translated": "Shoe"
 *       },
 *       "url": "https://example.wixsite.com",
 *       "price": {
 *         "amount": "85",
 *         "convertedAmount": "85",
 *         "formattedAmount": "$85.00",
 *         "formattedConvertedAmount": "$85.00"
 *       },
 *       "lineItemPrice": {
 *         "amount": "85",
 *         "convertedAmount": "85",
 *         "formattedAmount": "$85.00",
 *         "formattedConvertedAmount": "$85.00"
 *       },
 *       "fullPrice": {
 *         "amount": "85",
 *         "convertedAmount": "85",
 *         "formattedAmount": "$85.00",
 *         "formattedConvertedAmount": "$85.00"
 *       },
 *       "priceBeforeDiscounts": {
 *         "amount": "85",
 *         "convertedAmount": "85",
 *         "formattedAmount": "$85.00",
 *         "formattedConvertedAmount": "$85.00"
 *       },
 *       "totalPriceAfterTax": {
 *         "amount": "85",
 *         "convertedAmount": "85",
 *         "formattedAmount": "$85.00",
 *         "formattedConvertedAmount": "$85.00"
 *       },
 *       "totalPriceBeforeTax": {
 *         "amount": "85",
 *         "convertedAmount": "85",
 *         "formattedAmount": "$85.00",
 *         "formattedConvertedAmount": "$85.00"
 *       },
 *       "taxDetails": {
 *         "taxableAmount": {
 *           "amount": "85",
 *           "convertedAmount": "85",
 *           "formattedAmount": "$85.00",
 *           "formattedConvertedAmount": "$85.00"
 *         },
 *         "taxRate": "0",
 *         "totalTax": {
 *           "amount": "0",
 *           "convertedAmount": "0",
 *           "formattedAmount": "$0.00",
 *           "formattedConvertedAmount": "$0.00"
 *         },
 *         "rateBreakdown": []
 *       },
 *       "discount": {
 *         "amount": "0",
 *         "convertedAmount": "0",
 *         "formattedAmount": "$0.00",
 *         "formattedConvertedAmount": "$0.00"
 *       },
 *       "descriptionLines": [
 *         {
 *           "name": {
 *             "original": "Color",
 *             "translated": "Color"
 *           },
 *           "colorInfo": {
 *             "original": "Brown",
 *             "translated": "Brown",
 *             "code": "#783f04"
 *           },
 *           "lineType": "COLOR",
 *           "color": "Brown"
 *         },
 *         {
 *           "name": {
 *             "original": "birthday card",
 *             "translated": "birthday card"
 *           },
 *           "plainText": {
 *             "original": "Happy Birthday!",
 *             "translated": "Happy Birthday!"
 *           },
 *           "lineType": "PLAIN_TEXT",
 *           "plainTextValue": {
 *             "original": "Happy Birthday!",
 *             "translated": "Happy Birthday!"
 *           }
 *         }
 *       ],
 *       "media": "wix:image://v1/3c76e2_bf235c38610f4d2a905db71095b351cf~mv2.jpg#originWidth=1000&originHeight=1000",
 *       "availability": {
 *         "status": "AVAILABLE",
 *         "quantityAvailable": 30
 *       },
 *       "physicalProperties": {
 *         "sku": "364215376135191",
 *         "shippable": true
 *       },
 *       "couponScopes": [
 *         {
 *           "namespace": "stores",
 *           "group": {
 *             "name": "collection",
 *             "entityId": "00000000-000000-000000-000000000001"
 *           }
 *         },
 *         {
 *           "namespace": "stores",
 *           "group": {
 *             "name": "product",
 *             "entityId": "df19c1f7-07d8-a265-42f8-e8dfa824cc6e"
 *           }
 *         }
 *       ],
 *       "itemType": {
 *         "preset": "PHYSICAL"
 *       },
 *       "paymentOption": "FULL_PAYMENT_ONLINE",
 *       "rootCatalogItemId": "df19c1f7-07d8-a265-42f8-e8dfa824cc6e"
 *     },
 *     {
 *       "_id": "00000000-0000-0000-0000-000000000003",
 *       "quantity": 1,
 *       "catalogReference": {
 *         "catalogItemId": "9fe8c5b2-9c94-7153-ebb9-8533695e2b6f",
 *         "appId": "215238eb-22a5-4c36-9e7b-e7c08025e04e",
 *         "options": {
 *           "Size": "Large",
 *           "Color": "White"
 *         }
 *       },
 *       "price": {
 *         "amount": "0",
 *         "convertedAmount": "0",
 *         "formattedAmount": "$0.00",
 *         "formattedConvertedAmount": "$0.00"
 *       },
 *       "fullPrice": {
 *         "amount": "0",
 *         "convertedAmount": "0",
 *         "formattedAmount": "$0.00",
 *         "formattedConvertedAmount": "$0.00"
 *       },
 *       "priceBeforeDiscounts": {
 *         "amount": "0",
 *         "convertedAmount": "0",
 *         "formattedAmount": "$0.00",
 *         "formattedConvertedAmount": "$0.00"
 *       },
 *       "descriptionLines": [],
 *       "availability": {
 *         "status": "NOT_FOUND"
 *       },
 *       "couponScopes": [],
 *       "paymentOption": "FULL_PAYMENT_ONLINE"
 *     }
 *   ],
 *   "billingInfo": {
 *     "address": {
 *       "addressLine1": "235 West 23rd Street",
 *       "addressLine2": "3rd floor",
 *       "city": "New York",
 *       "subdivision": "US-NY",
 *       "country": "US",
 *       "postalCode": "10011"
 *     },
 *     "contactDetails": {
 *       "firstName": "Jane",
 *       "lastName": "Doe",
 *       "phone": "+1234567890"
 *     }
 *   },
 *   "shippingInfo": {
 *     "shippingDestination": {
 *       "address": {
 *         "addressLine1": "235 West 23rd Street",
 *         "addressLine2": "3rd floor",
 *         "city": "New York",
 *         "subdivision": "US-NY",
 *         "country": "US",
 *         "postalCode": "10011"
 *       },
 *       "contactDetails": {
 *         "firstName": "Jane",
 *         "lastName": "Doe",
 *         "phone": "+1234567890"
 *       }
 *     },
 *     "selectedCarrierServiceOption": {
 *       "code": "ed5bbce2-9533-dff4-7db0-13702fd139c5",
 *       "title": "Standard US Shipping",
 *       "logistics": {
 *         "deliveryTime": ""
 *       },
 *       "cost": {
 *         "totalPriceAfterTax": {
 *           "amount": "10",
 *           "convertedAmount": "10",
 *           "formattedAmount": "$10.00",
 *           "formattedConvertedAmount": "$10.00"
 *         },
 *         "totalPriceBeforeTax": {
 *           "amount": "10",
 *           "convertedAmount": "10",
 *           "formattedAmount": "$10.00",
 *           "formattedConvertedAmount": "$10.00"
 *         },
 *         "taxDetails": {
 *           "taxRate": "0",
 *           "totalTax": {
 *             "amount": "0",
 *             "convertedAmount": "0",
 *             "formattedAmount": "$0.00",
 *             "formattedConvertedAmount": "$0.00"
 *           },
 *           "rateBreakdown": []
 *         },
 *         "price": {
 *           "amount": "10",
 *           "convertedAmount": "10",
 *           "formattedAmount": "$10.00",
 *           "formattedConvertedAmount": "$10.00"
 *         }
 *       },
 *       "requestedShippingOption": true,
 *       "otherCharges": [],
 *       "carrierId": "c8a08776-c095-4dec-8553-8f9698d86adc"
 *     },
 *     "region": {
 *       "_id": "009fbe5d-89d3-7825-cbbf-1aab4d908b73",
 *       "name": "USA shipping"
 *     },
 *     "carrierServiceOptions": [
 *       {
 *         "carrierId": "c8a08776-c095-4dec-8553-8f9698d86adc",
 *         "shippingOptions": [
 *           {
 *             "code": "ed5bbce2-9533-dff4-7db0-13702fd139c5",
 *             "title": "Standard US Shipping",
 *             "logistics": {
 *               "deliveryTime": ""
 *             },
 *             "cost": {
 *               "price": {
 *                 "amount": "10",
 *                 "convertedAmount": "10",
 *                 "formattedAmount": "$10.00",
 *                 "formattedConvertedAmount": "$10.00"
 *               },
 *               "otherCharges": []
 *             }
 *           }
 *         ]
 *       }
 *     ]
 *   },
 *   "buyerNote": "Please wrap it up as a present",
 *   "buyerInfo": {
 *     "contactId": "f7dc17a6-825a-466e-a78e-c4abea0217db",
 *     "email": "Janedoe@example.com",
 *     "memberId": "c43190d2-eea3-493e-b6e8-f146850c6873"
 *   },
 *   "conversionCurrency": "USD",
 *   "priceSummary": {
 *     "subtotal": {
 *       "amount": "115",
 *       "convertedAmount": "115",
 *       "formattedAmount": "$115.00",
 *       "formattedConvertedAmount": "$115.00"
 *     },
 *     "shipping": {
 *       "amount": "10",
 *       "convertedAmount": "10",
 *       "formattedAmount": "$10.00",
 *       "formattedConvertedAmount": "$10.00"
 *     },
 *     "tax": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "discount": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "total": {
 *       "amount": "125",
 *       "convertedAmount": "125",
 *       "formattedAmount": "$125.00",
 *       "formattedConvertedAmount": "$125.00"
 *     },
 *     "additionalFees": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     }
 *   },
 *   "calculationErrors": {
 *     "orderValidationErrors": []
 *   },
 *   "appliedDiscounts": [],
 *   "customFields": [
 *     {
 *       "value": "12345",
 *       "title": "Tax ID",
 *       "translatedTitle": "Tax ID"
 *     }
 *   ],
 *   "weightUnit": "KG",
 *   "currency": "USD",
 *   "channelType": "WEB",
 *   "siteLanguage": "en",
 *   "buyerLanguage": "en",
 *   "completed": false,
 *   "taxIncludedInPrice": false,
 *   "createdBy": {
 *     "memberId": "c43190d2-eea3-493e-b6e8-f146850c6873"
 *   },
 *   "_createdDate": "2022-10-19T14:22:03.847Z",
 *   "_updatedDate": "2022-10-19T14:22:30.842Z",
 *   "payNow": {
 *     "subtotal": {
 *       "amount": "115",
 *       "convertedAmount": "115",
 *       "formattedAmount": "$115.00",
 *       "formattedConvertedAmount": "$115.00"
 *     },
 *     "shipping": {
 *       "amount": "10",
 *       "convertedAmount": "10",
 *       "formattedAmount": "$10.00",
 *       "formattedConvertedAmount": "$10.00"
 *     },
 *     "tax": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "discount": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "total": {
 *       "amount": "125",
 *       "convertedAmount": "125",
 *       "formattedAmount": "$125.00",
 *       "formattedConvertedAmount": "$125.00"
 *     },
 *     "additionalFees": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     }
 *   },
 *   "payLater": {
 *     "subtotal": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "shipping": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "tax": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "discount": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "total": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     },
 *     "additionalFees": {
 *       "amount": "0",
 *       "convertedAmount": "0",
 *       "formattedAmount": "$0.00",
 *       "formattedConvertedAmount": "$0.00"
 *     }
 *   },
 *   "membershipOptions": {
 *     "eligibleMemberships": [],
 *     "invalidMemberships": [],
 *     "selectedMemberships": {
 *       "memberships": []
 *     }
 *   },
 *   "additionalFees": []
 * }
 *
 */
```

---