Sign in

Update cart item

documented

Update an item in a cart.

POST /api/v2/cart/{cart_id}/items/{item_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://{{$whmcs_domain}}/api/v2/cart/{{$cart_id}}/items/{{$item_id}}" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "X-Api-State: {{$X_API_STATE}}" \
  -d '{"type":"{{$type}}","period":{{$period}},"idn_language":"{{$idn_language}}","dns_management":{{$dns_management}},"email_forwarding":{{$email_forwarding}},"id_protection":{{$id_protection}},"nameservers":{{$nameservers}}}'
Update cart item · whmcs · OpenIntegrations