Price Simulations API - Overview

📘

Onboarding guide

Check the new Pricing onboarding guide. We created this guide to improve the onboarding experience for developers at VTEX. It assembles all documentation on our Developer Portal about Pricing and is organized by focusing on the developer's journey.

The Price Simulations API allows you to configure custom price selectors for B2B stores, based on the context set by the Orders Configuration app.

Index

get Get custom prices schema
post Create or Update custom prices schema
post Update Order Configuration
get Get price association by ID
post Create price association
put Update price association by ID
delete Disassociate price association by ID

Custom Prices

In this session, you can create a specific shopping scenario with the criteria you want. For explaining purpose, we used the orderType and state as default values, but it can be others too.

Session Management

Every time you edit a configuration value set on the Custom Prices session, you must use this endpoint to update the Order Configuration.

Price Association

Use these routes to associate a shopping scenario, created at the Custom Price session, to a specific price table.