Batch Create Collect

🔒

Requires write_collection access scope. More access scope

The Batch Create Collect API allows developers add multiple products to a collection.

This API is especially useful for:

  1. Bulk adding products to collections
  2. Synchronizing collection contents

Request Parameters

Public Request Parameters

📘

Body Parameters

ParameterTypeRequiredDescriptionExample
collection_idstringYesUnique collection identifiers"coll_12345678"
product_idsarray[string]YesArray of product IDs to add["prod_123","prod_456"]

Response Explanation

Public Response Parameters

📘

Successful Response

ParameterTypeExampleDescription
codestring200Error code (200 indicates success)
messagestringSuccessError message
dataobject{...}

Error Response

FieldTypeExampleDescription
codestringInvalidParameterError http message
messagestring``Error message

API Structure Overview

Language
Credentials
Header
URL
Click Try It! to start a request and see the response here!