Products¶
Both our drafts API and posts API support product creation.
The product information can be saved inside to a post in using a Shopify API-compatible schema.
Parameters¶
Name |
Type |
Description |
---|---|---|
|
String |
Product ID - Required |
|
String |
Body HTML - Optional |
|
Array of Objects |
Images information, refer to product image section for more information - Optional |
|
String |
Product type or category - Optional |
|
Array of Strings |
Tags - Optional |
|
String |
Title - Required |
|
Array of Objects |
Variants information, refer to product variant section for more information - Optional |
|
String |
Vendor - Optional |
Image Parameters¶
Name |
Type |
Description |
---|---|---|
|
Integer |
Image ID - Required |
|
String |
Product ID - Required |
|
Integer |
Position - Optional |
|
Integer |
Width - Optional |
|
Integer |
Height - Optional |
|
String |
Location - Optional |
Variant Parameters¶
Name |
Type |
Description |
---|---|---|
|
String |
Variant ID - Required |
|
String |
Barcode - Optional |
|
String |
Price to compare to - Optional |
|
Integer |
Image ID - Optional |
|
String |
Price - Optional |
|
String |
Product ID - Optional |
|
Boolean |
Indicates whether the product requires shipping - Optional |
|
String |
SKU - Optional |
|
String |
Indicates whether taxes applies to the product - Optional |
|
String |
Tax code - Optional |
|
String |
Title - Optional |
|
String |
Weight value - Optional |
|
String |
Weight unit - Optional
Choices available:
|