שִׂיג ושִׂיח | cig.chat icon

שִׂיג ושִׂיח | cig.chat

Interact with the cig.chat messaging platform - 258 operations across 32 resources. Manage subscribers, send messages, configure flows, run the shop, and integrate with WhatsApp, Facebook, Instagram, Telegram, web chat, and more.

Actions258

Subscriber Cart → Add Item to Cart

AI-generated

Summary

Adds a specified product variant and quantity to a subscriber's shopping cart in cig.chat.

Inputs

  • user_ns (required) — The unique namespace or identifier of the subscriber whose cart is being modified.
  • variant_id (required) — The numeric ID of the product variant to add to the cart.
  • qty — The quantity of the product variant to add. Defaults to 1.

Output shape

a single record

Returns a JSON object detailing the updated cart status or item confirmation from cig.chat.

Examples

Example 1: Add a single unit of a product variant to a subscriber's cart

Set Subscriber NS to "sub_12345" and Variant ID to 101

Example 2: Add multiple units of a product variant to a subscriber's cart

Set Subscriber NS to "sub_12345", Variant ID to 101, and Quantity to 3

Links

Discussion