product

product.add.batch

Add new products to the store.

post/product.add.batch.json

Request

  • Base URL: https://api.api2cart.com/v1.1
  • URL: https://api.api2cart.com/v1.1/product.add.batch.json
  • Auth: API key in header x-api-key and API key in header x-store-key

Request body

nested_items_update_behaviour'replace' | 'merge'

Determines how updates to nested items should be handled.<hr><div style="font-style:normal"> Values description: <div style="margin-left: 2%; padding-top: 2%"> <div style="font-size:85%"> <b> replace</b>: This option indicates that the nested items should be completely replaced with the new data provided. </br> <b> merge</b>: With this option, updates to nested items are merged with the existing data. </br> </div> </div></div>

clear_cacheboolean
reindexboolean
idempotency_keystring

A unique identifier associated with a specific request. Repeated requests with the same <strong>idempotency_key</strong> return a cached response without re-executing the business logic. <strong>Please note that the cache lifetime is 15 minutes.</strong>

Response

successful operation

return_codeinteger
return_messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.