{ "opencollection": "1.0.0", "info": { "name": "Shopware Admin Account Product API", "version": "6.7.9999999-dev" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/api/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Product", "type": "folder" }, "items": [ { "info": { "name": "List products", "type": "http" }, "http": { "method": "GET", "url": "https://{shopDomain}/api/product", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Maximum number of resources per page (default 25)" }, { "name": "page", "value": "", "type": "query", "description": "Page number (1-based)" } ] }, "docs": "Returns a paginated list of products with basic information." }, { "info": { "name": "Create a product", "type": "http" }, "http": { "method": "POST", "url": "https://{shopDomain}/api/product", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new product resource." }, { "info": { "name": "Get a product", "type": "http" }, "http": { "method": "GET", "url": "https://{shopDomain}/api/product/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "32-character hex product ID" } ] }, "docs": "Returns a single product by its identifier." }, { "info": { "name": "Update a product", "type": "http" }, "http": { "method": "PATCH", "url": "https://{shopDomain}/api/product/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Partially updates a product resource." }, { "info": { "name": "Delete a product", "type": "http" }, "http": { "method": "DELETE", "url": "https://{shopDomain}/api/product/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Deletes a product by ID." }, { "info": { "name": "Search products", "type": "http" }, "http": { "method": "POST", "url": "https://{shopDomain}/api/search/product", "body": { "type": "json", "data": "{}" } }, "docs": "Full-featured product search with filter, sort, aggregation support." }, { "info": { "name": "Get a product", "type": "http" }, "http": { "method": "GET", "url": "https://{shopDomain}/api/product/:productId", "headers": [ { "name": "sw-context-token", "value": "" } ], "params": [ { "name": "productId", "value": "", "type": "path" } ] }, "docs": "Returns a single product by ID including all variants and media." } ] } ], "bundled": true }