Discussions

Ask a Question

shipment API / Order not Found, or no implicit conversion of Symbol into Integer

I am having issues with the shipment API. We use a similar process to update inventory via POST, but we are unable to get tracking to work at all. This is the JSON I am sending: {"shipment":{"sb_order_seq":1087,"carrier_name":"FedEx","tracking_number":"561514290845","items":{"sku":"GXF05753","quantity":1}}} I get the response "There was an error with your request. (no implicit conversion of Symbol into Integer)"}}

Linking Listings to Products Via API

Hello. We have a ton of listings, and currently we have to link them manually to products. Does the api provide a way to link the listings to products?

Shopify / Amazon orders not updating

Amazon orders get imported to Shopify just fine but the problem occurs when we ship in Shopify. We will make the labels in Shopify but they don’t get updated in amazon. I checked on sellbrite and saw that there is some sort of error with the warehouse assignment but we only have 1 warehouse so I’m wondering if that’s the cause on why it won’t update. This is a new problem that came out of no where. We’ve been using sellbrite for quite some time now too

Endpoint request timed out

Hi Sellbrite support team, We've encountered "Endpoint request timed out" recently when pulling products through this endpoint https://api.sellbrite.com/v1/products?page=24&limit=100 Is there any changes with rate limit or something else? Here is stack trace of the error. Please help. Thank you, Wildan ``` { "Data": [ { "id": null, "sku": null, "asin": null, "condition": null, "brand": null, "manufacturer": null, "manufacturer_model_number": null, "name": null, "description": null, "price": null, "cost": null, "package_length": null, "package_width": null, "package_height": null, "package_unit_of_length": null, "package_weight": null, "package_unit_of_weight": null, "msrp": null, "category_name": null, "warranty": null, "condition_note": null, "upc": null, "ean": null, "isbn": null, "gtin": null, "gcid": null, "epid": null, "parent_sku": null, "SB_Inventory": [] } ], "Request": { "AlwaysMultipartFormData": false, "JsonSerializer": { "DateFormat": null, "RootElement": null, "Namespace": null, "ContentType": "application/json" }, "XmlSerializer": { "RootElement": null, "Namespace": null, "DateFormat": null, "ContentType": "text/xml" }, "ResponseWriter": null, "UseDefaultCredentials": false, "Parameters": [ { "Name": "page", "Value": 24, "Type": 1, "ContentType": null }, { "Name": "limit", "Value": 100, "Type": 1, "ContentType": null }, { "Name": "Authorization", "Value": "Basic abc", "Type": 3, "ContentType": null }, { "Name": "Accept", "Value": "application/json, application/xml, text/json, text/x-json, text/javascript, text/xml", "Type": 3, "ContentType": null } ], "Files": [], "Method": 0, "Resource": "products", "RequestFormat": 1, "RootElement": null, "OnBeforeDeserialization": { "Delegate": {}, "method0": { "Name": "<.ctor>b__0", "AssemblyName": "RestSharp, Version=105.2.3.0, Culture=neutral, PublicKeyToken=null", "ClassName": "RestSharp.RestRequest", "Signature": "Void <.ctor>b__0(RestSharp.IRestResponse)", "Signature2": "System.Void <.ctor>b__0(RestSharp.IRestResponse)", "MemberType": 8, "GenericArguments": null } }, "DateFormat": null, "XmlNamespace": null, "Credentials": null, "UserState": null, "Timeout": 0, "ReadWriteTimeout": 0, "Attempts": 1 }, "ContentType": "application/json", "ContentLength": 41, "ContentEncoding": "", "Content": "{\"message\": \"Endpoint request timed out\"}", "StatusCode": 504, "StatusDescription": "Gateway Timeout", "RawBytes": "eyJtZXNzYWdlIjogIkVuZHBvaW50IHJlcXVlc3QgdGltZWQgb3V0In0=", "ResponseUri": "https://api.sellbrite.com/v1/products?page=24&limit=100", "Server": "", "Cookies": [], "Headers": [ { "Name": "Connection", "Value": "keep-alive", "Type": 3, "ContentType": null }, { "Name": "x-amzn-RequestId", "Value": "2f81fcc6-e437-4953-8f5c-fd52c3c96b3f", "Type": 3, "ContentType": null }, { "Name": "x-amzn-ErrorType", "Value": "InternalServerErrorException", "Type": 3, "ContentType": null }, { "Name": "x-amz-apigw-id", "Value": "Kg3x9ENdvHcFUrA=", "Type": 3, "ContentType": null }, { "Name": "Content-Length", "Value": "41", "Type": 3, "ContentType": null }, { "Name": "Content-Type", "Value": "application/json", "Type": 3, "ContentType": null }, { "Name": "Date", "Value": "Fri, 17 Dec 2021 21:52:15 GMT", "Type": 3, "ContentType": null } ], "ResponseStatus": 1, "ErrorMessage": null, "ErrorException": null }{ "ClassName": "System.Exception", "Message": "{\"Data\":[{\"id\":null,\"sku\":null,\"asin\":null,\"condition\":null,\"brand\":null,\"manufacturer\":null,\"manufacturer_model_number\":null,\"name\":null,\"description\":null,\"price\":null,\"cost\":null,\"package_length\":null,\"package_width\":null,\"package_height\":null,\"package_unit_of_length\":null,\"package_weight\":null,\"package_unit_of_weight\":null,\"msrp\":null,\"category_name\":null,\"warranty\":null,\"condition_note\":null,\"upc\":null,\"ean\":null,\"isbn\":null,\"gtin\":null,\"gcid\":null,\"epid\":null,\"parent_sku\":null,\"SB_Inventory\":[]}],\"Request\":{\"AlwaysMultipartFormData\":false,\"JsonSerializer\":{\"DateFormat\":null,\"RootElement\":null,\"Namespace\":null,\"ContentType\":\"application/json\"},\"XmlSerializer\":{\"RootElement\":null,\"Namespace\":null,\"DateFormat\":null,\"ContentType\":\"text/xml\"},\"ResponseWriter\":null,\"UseDefaultCredentials\":false,\"Parameters\":[{\"Name\":\"page\",\"Value\":24,\"Type\":1,\"ContentType\":null},{\"Name\":\"limit\",\"Value\":100,\"Type\":1,\"ContentType\":null},{\"Name\":\"Authorization\",\"Value\":\"Basic abc\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Accept\",\"Value\":\"application/json, application/xml, text/json, text/x-json, text/javascript, text/xml\",\"Type\":3,\"ContentType\":null}],\"Files\":[],\"Method\":0,\"Resource\":\"products\",\"RequestFormat\":1,\"RootElement\":null,\"OnBeforeDeserialization\":{\"Delegate\":{},\"method0\":{\"Name\":\"<.ctor>b__0\",\"AssemblyName\":\"RestSharp, Version=105.2.3.0, Culture=neutral, PublicKeyToken=null\",\"ClassName\":\"RestSharp.RestRequest\",\"Signature\":\"Void <.ctor>b__0(RestSharp.IRestResponse)\",\"Signature2\":\"System.Void <.ctor>b__0(RestSharp.IRestResponse)\",\"MemberType\":8,\"GenericArguments\":null}},\"DateFormat\":null,\"XmlNamespace\":null,\"Credentials\":null,\"UserState\":null,\"Timeout\":0,\"ReadWriteTimeout\":0,\"Attempts\":1},\"ContentType\":\"application/json\",\"ContentLength\":41,\"ContentEncoding\":\"\",\"Content\":\"{\\\"message\\\": \\\"Endpoint request timed out\\\"}\",\"StatusCode\":504,\"StatusDescription\":\"Gateway Timeout\",\"RawBytes\":\"eyJtZXNzYWdlIjogIkVuZHBvaW50IHJlcXVlc3QgdGltZWQgb3V0In0=\",\"ResponseUri\":\"https://api.sellbrite.com/v1/products?page=24&limit=100\",\"Server\":\"\",\"Cookies\":[],\"Headers\":[{\"Name\":\"Connection\",\"Value\":\"keep-alive\",\"Type\":3,\"ContentType\":null},{\"Name\":\"x-amzn-RequestId\",\"Value\":\"2f81fcc6-e437-4953-8f5c-fd52c3c96b3f\",\"Type\":3,\"ContentType\":null},{\"Name\":\"x-amzn-ErrorType\",\"Value\":\"InternalServerErrorException\",\"Type\":3,\"ContentType\":null},{\"Name\":\"x-amz-apigw-id\",\"Value\":\"Kg3x9ENdvHcFUrA=\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Content-Length\",\"Value\":\"41\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Content-Type\",\"Value\":\"application/json\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Date\",\"Value\":\"Fri, 17 Dec 2021 21:52:15 GMT\",\"Type\":3,\"ContentType\":null}],\"ResponseStatus\":1,\"ErrorMessage\":null,\"ErrorException\":null}", "Data": null, "InnerException": null, "HelpURL": null, "StackTraceString": " at WebApi.App_Start.SyncProductCharaceristics.PullSellBriteProducts() in C:\\sources\\MyApp\\WebApi\\App_Start\\SyncProductCharaceristics.cs:line 762", "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": "8\nPullSellBriteProducts\nWebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\nWebApi.App_Start.SyncProductCharaceristics\nVoid PullSellBriteProducts()", "HResult": -2146233088, "Source": "WebApi", "WatsonBuckets": null }{ "ClassName": "System.Exception", "Message": "{\"Data\":[{\"id\":null,\"sku\":null,\"asin\":null,\"condition\":null,\"brand\":null,\"manufacturer\":null,\"manufacturer_model_number\":null,\"name\":null,\"description\":null,\"price\":null,\"cost\":null,\"package_length\":null,\"package_width\":null,\"package_height\":null,\"package_unit_of_length\":null,\"package_weight\":null,\"package_unit_of_weight\":null,\"msrp\":null,\"category_name\":null,\"warranty\":null,\"condition_note\":null,\"upc\":null,\"ean\":null,\"isbn\":null,\"gtin\":null,\"gcid\":null,\"epid\":null,\"parent_sku\":null,\"SB_Inventory\":[]}],\"Request\":{\"AlwaysMultipartFormData\":false,\"JsonSerializer\":{\"DateFormat\":null,\"RootElement\":null,\"Namespace\":null,\"ContentType\":\"application/json\"},\"XmlSerializer\":{\"RootElement\":null,\"Namespace\":null,\"DateFormat\":null,\"ContentType\":\"text/xml\"},\"ResponseWriter\":null,\"UseDefaultCredentials\":false,\"Parameters\":[{\"Name\":\"page\",\"Value\":24,\"Type\":1,\"ContentType\":null},{\"Name\":\"limit\",\"Value\":100,\"Type\":1,\"ContentType\":null},{\"Name\":\"Authorization\",\"Value\":\"Basic abc\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Accept\",\"Value\":\"application/json, application/xml, text/json, text/x-json, text/javascript, text/xml\",\"Type\":3,\"ContentType\":null}],\"Files\":[],\"Method\":0,\"Resource\":\"products\",\"RequestFormat\":1,\"RootElement\":null,\"OnBeforeDeserialization\":{\"Delegate\":{},\"method0\":{\"Name\":\"<.ctor>b__0\",\"AssemblyName\":\"RestSharp, Version=105.2.3.0, Culture=neutral, PublicKeyToken=null\",\"ClassName\":\"RestSharp.RestRequest\",\"Signature\":\"Void <.ctor>b__0(RestSharp.IRestResponse)\",\"Signature2\":\"System.Void <.ctor>b__0(RestSharp.IRestResponse)\",\"MemberType\":8,\"GenericArguments\":null}},\"DateFormat\":null,\"XmlNamespace\":null,\"Credentials\":null,\"UserState\":null,\"Timeout\":0,\"ReadWriteTimeout\":0,\"Attempts\":1},\"ContentType\":\"application/json\",\"ContentLength\":41,\"ContentEncoding\":\"\",\"Content\":\"{\\\"message\\\": \\\"Endpoint request timed out\\\"}\",\"StatusCode\":504,\"StatusDescription\":\"Gateway Timeout\",\"RawBytes\":\"eyJtZXNzYWdlIjogIkVuZHBvaW50IHJlcXVlc3QgdGltZWQgb3V0In0=\",\"ResponseUri\":\"https://api.sellbrite.com/v1/products?page=24&limit=100\",\"Server\":\"\",\"Cookies\":[],\"Headers\":[{\"Name\":\"Connection\",\"Value\":\"keep-alive\",\"Type\":3,\"ContentType\":null},{\"Name\":\"x-amzn-RequestId\",\"Value\":\"2f81fcc6-e437-4953-8f5c-fd52c3c96b3f\",\"Type\":3,\"ContentType\":null},{\"Name\":\"x-amzn-ErrorType\",\"Value\":\"InternalServerErrorException\",\"Type\":3,\"ContentType\":null},{\"Name\":\"x-amz-apigw-id\",\"Value\":\"Kg3x9ENdvHcFUrA=\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Content-Length\",\"Value\":\"41\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Content-Type\",\"Value\":\"application/json\",\"Type\":3,\"ContentType\":null},{\"Name\":\"Date\",\"Value\":\"Fri, 17 Dec 2021 21:52:15 GMT\",\"Type\":3,\"ContentType\":null}],\"ResponseStatus\":1,\"ErrorMessage\":null,\"ErrorException\":null}", "Data": null, "InnerException": null, "HelpURL": null, "StackTraceString": " at WebApi.App_Start.SyncProductCharaceristics.PullSellBriteProducts() in C:\\sources\\MyApp\\WebApi\\App_Start\\SyncProductCharaceristics.cs:line 771\r\n at WebApi.App_Start.SyncProductCharaceristics.Execute(IJobExecutionContext context) in C:\\sources\\MyApp\\WebApi\\App_Start\\SyncProductCharaceristics.cs:line 50", "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": "8\nPullSellBriteProducts\nWebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null\nWebApi.App_Start.SyncProductCharaceristics\nVoid PullSellBriteProducts()", "HResult": -2146233088, "Source": "WebApi", "WatsonBuckets": null } ```

Test Data

In order to finish the testing phase on our integration, we require testing data / orders from Sellbrite but could not find any in the testing environment. We have an active account. Is there a different place to source this kind of data? Many thanks,

Zero Inventory in Shopify - Still sold on Amazon

What am I doing wrong? I get updates that the inventory is syncing, but maybe I'm misunderstanding how it works? An item was listed on Shopify and Amazon. It sold on Shopify. Weeks later, it sold on Amazon, but I have zero in stock.
ANSWERED

SKU ID Question

Hello, 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" }
ANSWERED

sku

Hi. I have been testing out the API and am running into an issue with passing a sku when upserting a new product. Using the cUrl POST /products/{sku} example that is provided in the reference, I changed this line to: -d '{ "name": "APITEST9", "sku":"TestSKU9"}' The product gets created, but the sku field is filling in the value "sku" and not what was passed in the API call. Please note that if the same test is performed with the "Try it" button, it passes and creates the sku correctly with the field value as above. Please let me know. Thanks!

Timeout when pulling data for a large date range (anything above 1000 orders)

I am not being able to fetch all the data for a date range that is higher than 5 days or more. When i see the orders, it looks as if only 1000 records are being pulled up, if I ask for more, the loader keeps loading and then times out.

UNABLE TO POST - {"error":"Your Sellbrite plan does not qualify for API access."}

Hello, We are no longer able to pull data from your server. We are getting 401 Unauthorized errors along with error messages that says {"error":"Your Sellbrite plan does not qualify for API access."}. Could someone please investigate and advise? "GET /v1/orders?sb_status=open HTTP/1.0" <CR> <LF> "User-Agent: KleinschmidtInc (HP Guardian D $UR30)" <CR> <LF> "Date: Sun, 19 Sep 2021 17:00:25 GMT" <CR> <LF> "X-Content-Records: 11" <CR> <LF> "Content-Length: 0" <CR> <LF> "Host: api.sellbrite.com" <CR> <LF> "Authorization: Basic MjBlMmIyZTYtNjJkNy00YmM0LThjNTUtZDM0ZWJmNDAzNGJ" "lOmFkM2JhMjIwZjY1YWNjYmI1ZDUxNGE2NmZjYTBkNmFm" <CR> <LF> "Content-Type: */*" <CR> <LF> "Accept-Encoding: gzip,deflate" <CR> <LF> <CR> <LF> TCP/IP READ Bytes=787 17:00:25.681 "HTTP/1.1 401 Unauthorized" <CR> <LF> "Date: Sun, 19 Sep 2021 22:00:25 GMT" <CR> <LF> "Content-Type: application/json; charset=utf-8" <CR> <LF> "Content-Length: 64" <CR> <LF> "Connection: close" <CR> <LF> "x-amzn-RequestId: f9f4c726-7be8-4204-bf74-4da256e21228" <CR> <LF> "X-XSS-Protection: 1; mode=block" <CR> <LF> "X-Runtime: 0.025505" <CR> <LF> "Strict-Transport-Security: max-age=31536000; includeSubdomains" <CR> <LF> "Content-Security-Policy: default-src https: data: 'unsafe-inline' 'u" "nsafe-eval'; connect-src *; img-src * data:" <CR> <LF> "x-amzn-Remapped-Connection: keep-alive" <CR> <LF> "X-Request-Id: 0d5fd6f0-d22b-43b5-b62a-414cab87a575" <CR> <LF> "x-amz-apigw-id: F7jnCGNJPHcFiGg=" <CR> <LF> "Cache-Control: no-cache" <CR> <LF> "x-amzn-Remapped-Server: nginx/1.10.3 (Ubuntu)" <CR> <LF> "X-Content-Type-Options: nosniff" <CR> <LF> "x-amzn-Remapped-Date: Sun, 19 Sep 2021 22:00:25 GMT" <CR> <LF> <CR> <LF> "{"error":"Your Sellbrite plan does not qualify for API access."}" BLOCK READ Bytes=787 17:00:25.682 "HTTP/1.1 401 Unauthorized" <CR> <LF> "Date: Sun, 19 Sep 2021 22:00:25 GMT" <CR> <LF> "Content-Type: application/json; charset=utf-8" <CR> <LF> "Content-Length: 64" <CR> <LF> "Connection: close" <CR> <LF> "x-amzn-RequestId: f9f4c726-7be8-4204-bf74-4da256e21228" <CR> <LF> "X-XSS-Protection: 1; mode=block" <CR> <LF> "X-Runtime: 0.025505" <CR> <LF> "Strict-Transport-Security: max-age=31536000; includeSubdomains" <CR> <LF> "Content-Security-Policy: default-src https: data: 'unsafe-inline' 'u" "nsafe-eval'; connect-src *; img-src * data:" <CR> <LF> "x-amzn-Remapped-Connection: keep-alive" <CR> <LF> "X-Request-Id: 0d5fd6f0-d22b-43b5-b62a-414cab87a575" <CR> <LF> "x-amz-apigw-id: F7jnCGNJPHcFiGg=" <CR> <LF> "Cache-Control: no-cache" <CR> <LF> "x-amzn-Remapped-Server: nginx/1.10.3 (Ubuntu)" <CR> <LF> "X-Content-Type-Options: nosniff" <CR> <LF> "x-amzn-Remapped-Date: Sun, 19 Sep 2021 22:00:25 GMT" <CR> <LF> <CR><LF> "{"error":"Your Sellbrite plan does not qualify for API access."}" SSL default Session Shutdown 17:00:25.683 SSL default Session Shutdown Completed 17:00:25.683 Client Connect api.sellbrite.com:443 17:00:27.748 SSL default Client Session Startup 17:00:27.748 SSL default Client Ver=TLS1.2 35.164.158.67 17:00:28.214 TCP/IP WRITE Socket=50 Bytes=405 17:00:28.219 "GET /v1/orders?sb_status=open HTTP/1.0" <CR> <LF> "User-Agent: KleinschmidtInc (HP Guardian D $UR30)" <CR> <LF> "Date: Sun, 19 Sep 2021 17:00:28 GMT" <CR> <LF> "X-Content-Records: 11" <CR> <LF> "Content-Length: 0" <CR> <LF> "Authorization: Basic a2xlaW46ZDk2MzVjMGI=" <CR> <LF> "Host: api.sellbrite.com" <CR> <LF> "Authorization: Basic MjBlMmIyZTYtNjJkNy00YmM0LThjNTUtZDM0ZWJmNDAzNGJ" "lOmFkM2JhMjIwZjY1YWNjYmI1ZDUxNGE2NmZjYTBkNmFm" <CR> <LF> "Content-Type: */*" <CR> <LF> "Accept-Encoding: gzip,deflate" <CR> <LF> <CR> <LF> TCP/IP READ Bytes=272 17:00:28.271 "HTTP/1.1 400 Bad Request" <CR> <LF> "Server: awselb/2.0" <CR> <LF> "Date: Sun, 19 Sep 2021 22:00:28 GMT" <CR> <LF> "Content-Type: text/html" <CR> <LF> "Content-Length: 122" <CR> <LF> "Connection: close" <CR> <LF> <CR> <LF> "<html>" <CR> <LF> "<head><title>400 Bad Request</title></head>" <CR> <LF> "<body>" <CR> <LF> "<center><h1>400 Bad Request</h1></center>" <CR> <LF> "</body>" <CR> <LF> "</html>" <CR> <LF> BLOCK READ Bytes=272 17:00:28.271 "HTTP/1.1 400 Bad Request" <CR> <LF> "Server: awselb/2.0" <CR> <LF> "Date: Sun, 19 Sep 2021 22:00:28 GMT" <CR> <LF> "Content-Type: text/html" <CR> <LF> "Content-Length: 122" <CR> <LF> "Connection: close" <CR> <LF> <CR> <LF> "<html>" <CR> <LF> "<head><title>400 Bad Request</title></head>" <CR> <LF> "<body>" <CR> <LF> "<center><h1>400 Bad Request</h1></center>" <CR> <LF> "</body>" <CR> <LF> "</html>" <CR> <LF> SSL default Session Shutdown 17:00:28.292 SSL default Session Shutdown Completed 17:00:28.293