Bigcommerce Createproductvariant Example is an example object payload from BigCommerce, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
{
"operationId": "createProductVariant",
"method": "POST",
"path": "/catalog/products/{product_id}/variants",
"summary": "BigCommerce Create a Product Variant",
"requestExamples": [],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"name": "example-1",
"example": {
"data": {
"cost_price": 0,
"price": 0,
"sale_price": 0,
"retail_price": 0,
"weight": 0,
"width": 0,
"height": 0,
"depth": 0,
"is_free_shipping": true,
"fixed_cost_shipping_price": 0,
"purchasing_disabled": true,
"purchasing_disabled_message": "string",
"upc": "string",
"inventory_level": 0,
"inventory_warning_level": 0,
"bin_picking_number": "string",
"mpn": "string",
"gtin": "012345678905",
"id": 0,
"product_id": 0,
"sku": "string",
"sku_id": 0,
"option_values": [
{
"option_display_name": "Color",
"label": "Beige",
"id": 146,
"option_id": 151
}
],
"calculated_price": 0,
"calculated_weight": 0
},
"meta": {}
}
},
{
"status": "200",
"contentType": "application/json",
"name": "example-2",
"example": {
"data": {
"id": 384,
"product_id": 192,
"sku": "SMIT-2",
"sku_id": 350,
"price": 25,
"calculated_price": 25,
"sale_price": 20,
"retail_price": 25,
"map_price": {},
"weight": 2,
"calculated_weight": 1,
"width": 5,
"height": 5,
"depth": 5,
"is_free_shipping": false,
"fixed_cost_shipping_price": 10,
"purchasing_disabled": false,
"purchasing_disabled_message": "",
"image_url": "",
"cost_price": 25,
"upc": "",
"mpn": "",
"gtin": "",
"inventory_level": 0,
"inventory_warning_level": 0,
"bin_picking_number": "",
"option_values": [
{
"id": 176,
"label": "Black",
"option_id": 220,
"option_display_name": "Color"
}
]
},
"meta": {}
}
}
]
}