Rest API References
The REST Admin API lets you build apps and other integrations for the ShopBase admin.
Frequent Asked API Questions
Product API
POST: /admin/products.json
{
"product": {
"title": "Simple product title"
}
}POST: /admin/products.json
{
"product": {
"title": "Simple product title",
"variants": [
{
"option1": "Black",
"option2": "Small",
"price": "19.99",
"sku": "sku-189234-123-12-1",
"compare_at_price": "21.99"
},
{
"option1": "Red",
"option2": "Large",
"price": "19.99",
"sku": "sku-189234-123-12-2",
"compare_at_price": "21.99"
},
{
"option1": "Red",
"option2": "Medium",
"price": "19.99",
"sku": "sku-189234-123-12-3",
"compare_at_price": "21.99"
}
],
"options": [
{
"values": [
"Black",
"Red",
"Purple"
],
"name": "Color"
},
{
"values": [
"Small",
"Medium",
"Large"
],
"name": "Size"
}
],
"images": [
{
"metafields": [],
"src": "https://example.com/image-src-url-001.jpg",
"alt": "some-alt-text-01"
},
{
"metafields": [],
"src": "https://example.com/image-src-url-002.jpg",
"alt": "some-alt-text-02"
}
]
}
}Product variant API
Product image API
Last updated