Skip to main content
POST
Create batch deliveries for multiple products
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

POST /product/batch-delivery Create deliveries for multiple products in a single request. Features:
  • Process up to 100 products per request
  • Returns detailed status for each product
  • Supports partial success (some products succeed, others fail)
  • Asynchronous queue-based processing
Validation Rules:
  • All products must have UPC codes
  • Provider must be active and configured
  • “DDEX & Deliveries” addon must be enabled
  • Products must have required DDEX metadata
Rate Limits:
  • Maximum 100 products per batch
Authorization:
  • Required role: admin or higher
Response status code: 201 is returned whenever at least one product’s delivery succeeded — including a partial success where some products failed (check status / data.errors in the body to tell them apart). 207 is only returned when every product failed (nothing succeeded).

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json
productIds
string[]
required

Array of product IDs to deliver (max 100)

Required array length: 1 - 100 elements
Example:
provider
string
required

Provider identifier

Example:

"fuga-csv-ftp"

priority
string
default:normal

Delivery priority. Echoed back in the response but not otherwise validated or enforced server-side (any string is accepted).

Example:

"normal"

settings
object

Optional DDEX metadata overrides, merged into each product's ddexMetadata

Response

At least one product's delivery succeeded (status success or partial_success)

status
enum<string>
Available options:
success,
partial_success
Example:

"success"

message
string
Example:

"Batch delivery initiated successfully"

data
object