Sign in

Update cart

documented

Update a cart by ID.

PUT /3dCartWebAPI/v1/Carts/{cartId}Cartsno 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://apirest.3dcart.com/3dCartWebAPI/v1/Cart/{{$cartId}}" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "SecureURL: {{SHIFT4SHOP_STORE_URL}}" \
  -H "PrivateKey: {{SHIFT4SHOP_PRIVATE_KEY}}" \
  -H "Token: {{SHIFT4SHOP_TOKEN}}" \
  -d '{"CustomerId": {{$customerId}}, "BillingFirstName": "{{$billingFirstName}}", "BillingLastName": "{{$billingLastName}}", "BillingAddress": "{{$billingAddress}}", "BillingAddress2": "{{$billingAddress2}}", "BillingCity": "{{$billingCity}}", "BillingState": "{{$billingState}}", "BillingZipCode": "{{$billingZip}}", "BillingCountry": "{{$billingCountry}}", "BillingPhoneNumber": "{{$billingPhone}}", "BillingEmail": "{{$billingEmail}}", "ShipmentFirstName": "{{$shipmentFirstName}}", "ShipmentLastName": "{{$shipmentLastName}}", "ShipmentCompany": "{{$shipmentCompany}}", "ShipmentAddress": "{{$shipmentAddress}}", "ShipmentAddress2": "{{$shipmentAddress2}}", "ShipmentCity": "{{$shipmentCity}}", "ShipmentState": "{{$shipmentState}}", "ShipmentZipCode": "{{$shipmentZip}}", "ShipmentCountry": "{{$shipmentCountry}}", "ShipmentPhone": "{{$shipmentPhone}}", "ShipmentEmail": "{{$shipmentEmail}}", "LineItems": [{"ProductId": "{{$productId}}", "Quantity": {{$quantity}}}]}'"