Core API
...
Core API Docs
Products
Create a Product
POST
HEADER PARAMETERS
Site-Id
string
*Example: jones-climbing
Spark Layer Site ID
BODY PARAMETERS
body
*[All Of:objectobject]RESPONSES
200
Successful response
Product
[All Of:Product-2object]id
string
Example: pp_123
SparkLayer Parent Product ID (always prefixed with pp_)
created_at
string<date-time>
Created At
updated_at
string<date-time>
Updated At
external_id
string
Example: ID001
External ID (cannot start with pp_ and must be unique)
title
string
Example: Striped Jumper
Product Title
slug
string
Example: striped-jumper
Product Slug (Used as the link identifier)
variants
ProductVariant[]
*default
Error Response