Skip to main content
POST
Initialize woocommerce sandbox with data

Authorizations

Authorization
string
header
required

Your Klavis AI API key.

Path Parameters

sandbox_id
string
required

The unique sandbox identifier

Query Parameters

init_default_data
boolean
default:false

If true, use default test data for initialization

Body

application/json

Complete WooCommerce sandbox data structure.

Products and customers are created first, then orders are created with proper references.

products
WooCommerceProduct · object[] | null

List of products to create

customers
WooCommerceCustomer · object[] | null

List of customers to create

orders
WooCommerceOrder · object[] | null

List of orders to create

Response

Successful Response

Response model for sandbox initialization

sandbox_id
string
required

Sandbox identifier

status
enum<string>
required

Current status

Available options:
idle,
occupied,
error
message
string
required

Initialization result message