Sign in

Validate cart contents

documented

Validate the contents of a cart.

POST /api/v2/cart/{cart_id}Cartno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$domain}}/api/v2/cart/{{$cart_id}}/promotion" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "X-Api-State: {{X_API_STATE}}" \
  -d '{"code": "{{$promo_code}}"}'
Validate cart contents · whmcs · OpenIntegrations