Newer Version Available
B2B Commerce on Lightning Experience Resources
Get, create, update, and delete your commerce data. Work with address management,
carts, checkouts (beta), orders, products, promotions, wishlists, and search
settings.
Available resources are:
Address Management
| Resource | Description |
|---|---|
| /commerce/webstores/webstoreId/accounts/accountId/addresses | Create a Commerce account address for a webstore, or retrieve a collection of addresses for a webstore account. |
| /commerce/webstores/webstoreId/accounts/accountId/addresses/addressId | Update or delete an address for a Commerce account associated with a webstore. |
Carts
Checkouts (Beta)
| Resource | Description |
|---|---|
| /commerce/webstores/webstoreId/checkouts | Get, delete, or update a Commerce store checkout. |
| /commerce/webstores/webstoreId/checkouts/activeOrCheckoutId/payments | Payment for a Commerce store checkout. |
| /commerce/webstores/webstoreId/checkouts/activeOrCheckoutId | Place an order for a Commerce store checkout. |
| /commerce/webstores/webstoreId/checkouts | Start a Commerce store checkout. |
| /commerce/webstores/webstoreId/payments/token | Tokenize a payment for a Commerce store checkout. |
Context
| Resource | Description |
|---|---|
| /commerce/webstores/webstoreId/application-context | Get application context information for a Commerce store. |
| /commerce/webstores/webstoreId/session-context | Get session context information for a Commerce store. |
Externally Managed Accounts
| Resource | Description |
|---|---|
| /commerce/webstores/webstoreId/external-managed-accounts | Get a collection of externally managed accounts. |
Orders
| Resource | Description |
|---|---|
| /commerce/webstores/webstoreId/order-summaries | Get order summaries. |
| /commerce/webstores/webstoreId/order-summaries/orderSummaryId/delivery-groups | Get order delivery groups. |
| /commerce/webstores/webstoreId/order-summaries/orderSummaryId/items | Get order items. |
| /commerce/webstores/webstoreId/order-summaries/orderSummaryId/shipments | Get order shipments. |
| /commerce/webstores/webstoreId/shipments/shipmentId/items | Get shipment items. |
Products, Product Categories, Product Prices, Product Searches
Promotions
| Resource | Description |
|---|---|
| /commerce/webstores/webstoreId/promotions/actions/associate | Gets the associated promotions and price adjustments for a cart and its items. Only the 50 highest priority eligible promotions are processed. |
| /commerce/webstores/webstoreId/promotions/actions/execute | Applies associated promotion discounts to a cart and its items. |
Wishlists
| Resource | Description |
|---|---|
| /commerce/webstores/webstoreId/wishlists | Get wishlists and create a wishlist. |
| /commerce/webstores/webstoreId/wishlists/wishlistId | Get, update the name of, and delete a wishlist. |
| /commerce/webstores/webstoreId/wishlists/wishlistId/actions/add-wishlist-to-cart | Add a wishlist to a cart. |
| /commerce/webstores/webstoreId/wishlists/wishlistId/wishlist-items | Get wishlist items or add items to the wishlist. |
| /commerce/webstores/webstoreId/wishlists/wishlistId/wishlist-items/wishlistItemId | Delete a wishlist item. |
Search Settings
| Resource | Description |
|---|---|
| /commerce/management/webstores/webstoreId/search/attribute-settings/facetable-fields | Get and update facetable attributes. |
| /commerce/management/webstores/webstoreId/search/attribute-settings/searchable-fields | Get and update searchable attributes. |
| /commerce/management/webstores/webstoreId/search/indexes | Get indexes and create an index of a product catalog. |
| /commerce/management/webstores/webstoreId/search/indexes/indexId | Get a search index. |
| /commerce/management/webstores/webstoreId/search/product-settings | Get and update product search settings. |
| /commerce/management/webstores/webstoreId/search/sort-rules | Create or retrieve sort rules for a webstore. |