Adds catalog line items to a cart.
Note: When adding catalog line items to your cart, the lineItems.catalogReference.appId
and lineItems.catalogReference.catalogItemId
fields are required.
You can only call this method when authenticated as a Wix app or Wix user identity.
Cart ID.
Catalog line items.
Custom line items. Custom line items don't trigger the Catalog service plugin.
To access and manage custom line items, your app must have the permission scope named "Manage eCommerce - Admin Permissions". Learn more about permission scopes.
The business location ID associated with the cart.
The businessLocationId
field cannot be passed if one already exists on the cart. To update a cart's business location ID, use the UpdateCart method.
Learn more about the Locations API.
Updated cart.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.