Shopware · Example Payload
Shopware Create Product Example
E-CommerceOpen SourceHeadless CommerceB2BB2CRESTOAuth2
Shopware Create Product Example is an example object payload from Shopware, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
_commentrequestresponse
Example Payload
{
"_comment": "Example: POST /api/product — Create a new product via the Shopware Admin API",
"request": {
"method": "POST",
"url": "https://your-shop.example.com/api/product",
"headers": {
"Authorization": "Bearer {access_token}",
"Content-Type": "application/json",
"Accept": "application/json"
},
"body": {
"productNumber": "SW-10023",
"taxId": "b7d2554b0ce847cd82f3ac9bd1c0dfca",
"stock": 100,
"name": "Shopware Premium T-Shirt",
"description": "<p>High-quality cotton t-shirt featuring the Shopware logo. Available in multiple sizes.</p>",
"active": true,
"ean": "4012345678901",
"isCloseout": false,
"shippingFree": false,
"purchaseSteps": 1,
"minPurchase": 1,
"maxPurchase": 50,
"weight": 0.25,
"width": 200,
"height": 10,
"length": 280,
"markAsTopseller": false,
"price": [
{
"currencyId": "b7d2554b0ce847cd82f3ac9bd1c0dfca",
"gross": 29.99,
"net": 25.2,
"linked": true,
"listPrice": {
"gross": 39.99,
"net": 33.6,
"linked": true
}
}
],
"visibilities": [
{
"salesChannelId": "98432def39fc4624b33213a56b8c944f",
"visibility": 30
}
],
"categories": [
{
"id": "77b959cf66de4c1590c7f9b7da3982f3"
}
]
}
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"body": {
"data": {
"id": "a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4",
"versionId": "0fa91ce3e96a4bc2be4bd9ce752c3425",
"productNumber": "SW-10023",
"taxId": "b7d2554b0ce847cd82f3ac9bd1c0dfca",
"stock": 100,
"availableStock": 100,
"name": "Shopware Premium T-Shirt",
"description": "<p>High-quality cotton t-shirt featuring the Shopware logo. Available in multiple sizes.</p>",
"active": true,
"ean": "4012345678901",
"isCloseout": false,
"shippingFree": false,
"weight": 0.25,
"markAsTopseller": false,
"price": [
{
"currencyId": "b7d2554b0ce847cd82f3ac9bd1c0dfca",
"gross": 29.99,
"net": 25.2,
"linked": true,
"listPrice": {
"gross": 39.99,
"net": 33.6,
"linked": true
}
}
],
"createdAt": "2026-06-12T10:00:00.000+00:00",
"updatedAt": null
}
}
}
}