OVH Order icon

OVH Order

Manage OVH orders and shopping carts

Actions16

Cart Coupon → Add

AI-generated

Summary

Add a coupon code to an OVH order cart identified by the given Cart ID.

Inputs

  • Cart ID (required) — The ID of the cart to which the coupon will be added.
  • Coupon (required) — The coupon code to add to the cart.

Output shape

a single JSON response object confirming the addition of the coupon or containing API error details

The operation sends a POST request to the OVH API endpoint for adding coupons to a cart and returns the API's JSON response. In case of failure, the error details are returned in the output.

Examples

Example 1: Add coupon 'SUMMER2024' to cart '12345678'

Set 'Cart ID' to '12345678' and 'Coupon' to 'SUMMER2024' in the node parameters.

Links

Discussion