Ask a Question
Back to All

SKU ID Question


When attempting to call the Inventory Endpoint of your API (https://api.sellbrite.com:443/v1/inventory) and use the PATCH Method to update the available quantity of a given SKU, we invoke a 404 Error with the Response Payload indicating that the Product cannot be found, when in fact the Product very much exists.

Your API Documentation only specifies a "SKU", so I would assume your platform automatically reconciles product/variant but that seems to not be the case.

Can you please review the Log data below and confirm if this is happening because the SKU ID (S100220A-UPC-TRACKED) we are attempting to update, is a variant of a different SKU ID (B07MH8ZYKQ)?

Request Headers:

authorization: Basic NGVlY2YzZWItMzUyNi00M2E1LTkzMmQtZTgxMzE0NjAzODgxOjZhODQ3NTYwZDRlYWQ3ZTkwMDNhNDgyNDE2MGE0NDYw
Accept-Encoding: identity
Content-Type: application/json
Request URI: https://api.sellbrite.com:443/v1/inventory
Request Method: PATCH

Request Payload:

"inventory": [
"sku": "S100220A-UPC-TRACKED",
"warehouse_uuid": "b8617c58-376e-443f-9109-b82c5faffd6d",
"available": 1260

Response Headers:

date: Thu, 21 Oct 2021 19:17:35 GMT
content-type: application/json; charset=utf-8
content-length: 29
connection: close
x-amzn-requestid: 45855e9a-5c70-4626-8153-ce35ef750785
x-xss-protection: 1; mode=block
x-runtime: 0.087859
strict-transport-security: max-age=31536000; includeSubdomains
content-security-policy: default-src https: data: 'unsafe-inline' 'unsafe-eval'; connect-src ; img-src data:
x-amzn-remapped-connection: keep-alive
x-request-id: 467220d1-864d-4551-aaaf-1c5b92179b80
x-amz-apigw-id: HkpwfEl2PHcF_Qg=
cache-control: no-cache
x-amzn-remapped-server: nginx/1.10.3 (Ubuntu)
x-content-type-options: nosniff
x-amzn-remapped-date: Thu, 21 Oct 2021 19:17:35 GMT
Request URI: https://api.sellbrite.com:443/v1/inventory
Duration (ms): 374.5

Response Payload:

"error": "Product not found"