Suri icon

Suri

Integração com a plataforma Suri (Chatbot Maker)

Shop — Produto (Batch) → Criar Batch Request

AI-generated

Summary

Send a batch request to perform up to 200 product operations (DELETE, CREATE, UPDATE, UPDATE_PRICE, UPDATE_STOCK) in a single API call to the Suri platform.

Inputs

  • Requests (JSON) (required) — A JSON object containing a "requests" array; each array item specifies a "type" (one of DELETE, CREATE, UPDATE, UPDATE_PRICE, UPDATE_STOCK) and a "Data" object with relevant product information.

Output shape

a single JSON object

The response's data may be either a batch ID string or a product object; the exact structure can vary due to documentation inconsistencies.

Examples

Example 1: Perform multiple product operations in one call

Specify the batchRequests JSON parameter with an array of operation objects, each including the type of operation and its data.

Links

Discussion