Skip to main content
GET
/
sandbox
/
woocommerce
/
{sandbox_id}
/
dump
Export woocommerce sandbox data
curl --request GET \
  --url https://api.klavis.ai/sandbox/woocommerce/{sandbox_id}/dump \
  --header 'Authorization: Bearer <token>'
{
  "sandbox_id": "<string>",
  "server_name": "jira",
  "dumped_at": "2023-11-07T05:31:56Z",
  "data": {
    "products": [
      {
        "name": "<string>",
        "description": "<string>",
        "short_description": "<string>",
        "type": "simple",
        "regular_price": "<string>",
        "sku": "<string>",
        "stock_quantity": 123,
        "status": "publish",
        "manage_stock": true,
        "categories": [
          {}
        ],
        "images": [
          {}
        ]
      }
    ],
    "customers": [
      {
        "email": "jsmith@example.com",
        "first_name": "<string>",
        "last_name": "<string>",
        "username": "<string>",
        "billing": {},
        "shipping": {}
      }
    ],
    "orders": [
      {
        "customer_index": 1,
        "line_items": [
          {
            "product_index": 1,
            "quantity": 1
          }
        ],
        "status": "pending",
        "payment_method": "bacs",
        "payment_method_title": "Direct Bank Transfer"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Your Klavis AI API key.

Path Parameters

sandbox_id
string
required

The unique sandbox identifier

Response

Successful Response

sandbox_id
string
required

Sandbox identifier

server_name
enum<string>
required

MCP server type

Available options:
jira,
github,
salesforce,
hubspot,
notion,
airtable,
linear,
asana,
google_sheets,
google_drive,
google_docs,
gmail,
google_calendar,
google_forms,
clickup,
close,
monday,
motion,
onedrive,
microsoft_teams,
outlook_mail,
cal.com,
quickbooks,
moneybird,
dropbox,
shopify,
woocommerce,
outlook_calendar,
resend,
wordpress,
mem0,
supabase,
slack,
confluence,
discord,
snowflake,
postgres,
mongodb,
youtube,
googleworkspaceatlas,
arxiv_latex,
calculator,
clinicaltrialsgov,
met_museum,
open_library,
osm,
pubmed,
us_weather,
whois,
wikipedia,
weather,
twelvedata,
national_parks,
lara_translate,
e2b,
context7,
alchemy,
weights_and_biases,
huggingface
dumped_at
string<date-time>
required

Timestamp of dump

data
WooCommerceData · object
required

Dumped sandbox data in server-specific format