{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"d85c501e-5ac4-40a2-ba0e-f2d4bd0933a5","name":"LatestCollectionAPI documentation","description":"This documentation describes how you, as a developer, can interact with the LatestCollection API.\n\n# Authentication\n\nIn order to use the API, you need the tenant ID and an API token for a particular tenant. API tokens can be created by a user with appropriate credentials. API tokens are passed as **token** query parameters or **X-API-Key** request headers .\n\nAll endpoints are structured as follows:\n\n`{{baseUrl}}/{{_tenantID}}/resource?token={{_token}}`\n\n---\n\n## Testing\n\nFor testing purposes, you can use the general purpose testaccount with tenantID **00000** and API token **TestToken**. This Postman documentation system uses an ENVIRONMENT that is connected with this tenantID. This test tenant is restored periodically.\n\n---\n\n# Content-type\n\nAll POST, PUT, PATCH and DELETE endpoints require **Content-type:application/json**\n\nGET requests default to **Content-type:application/json** and can alternatively be called with **Content-type:text/csv** to download resources in CSV format.\n\n# Filtering documents\n\nAll GET endpoints allow arbitrary filtering on the data properties of the underlying resource.\n\nFor example, you can filter sku's by brand using:\n\n`{{baseUrl}}/data/{{tenantID}}/sku?token={{token}}&filter=brand==\"Mexx\"`\n\nTo filter inventory that has changed since a specified timestamp:\n\n`{{baseUrl}}/data/{{tenantID}}/inventory?token={{token}}&filter=__modified> 1636578404701`\n\nFor the complete filter syntax, see [Filtrex documentation](https://github.com/m93a/filtrex#readme)\n\n# Filtering fields\n\nGET endpoints allow you to select top-level document fields. By default, the entire document will be returned. To select specific fields from the documents, add the **fields** query parameter with a comma separated list of fieldnames. For example:\n\n`{{baseUrl}}/data/{{tenantID}}/sku?token={{token}}&fields=brand,articleCode,color,size,barcode`\n\n# Dates / timestamps\n\nDates and timestamps like the __**created and __modified** fields are represented in milliseconds since the [Unix Epoch](https://en.wikipedia.org/wiki/Unix_time).\n\n# Paging\n\nThe LatestCollection API is build to transfer large responses, preferably entire collections at once. If that workflow does not fit your needs, you can use the **limit** and **offset** parameters to request smaller chunks. There are no defaults, a request without these parameters returns the entire collection.\n\n---\n\n# POST requests\n\nAll POST endpoints allow a single object or an array of objects. Some endpoints allow only one object but they will accept an array with one object.\n\n---\n\n# Sales Channels\n\nTypical usecase for using this API is to connect a webshop. Everything concering a webshop is defined within the salesChannel called **retail-ecommerce**. Add `salesChannel=retail-ecommerce` to your `/sku` and `/inventory` queries and appropriate filtering will be applied.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"10959710","team":1653161,"collectionId":"d85c501e-5ac4-40a2-ba0e-f2d4bd0933a5","publishedId":"TVsyg5ph","public":true,"publicUrl":"https://developer.latestcollection.com","privateUrl":"https://go.postman.co/documentation/10959710-d85c501e-5ac4-40a2-ba0e-f2d4bd0933a5","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":"Latest Collection developer documentation"}],"appearance":{"default":"light","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.10.1","publishDate":"2024-12-06T06:34:49.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"Latest Collection developer documentation","description":""},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[{"name":"LatestCollection example","id":"085b5fcf-fd45-4755-8903-faf6676dfb51","owner":"10671098","values":[{"key":"token","value":"TestToken","enabled":true},{"key":"tenantId","value":"00000","enabled":true},{"key":"barcode","value":"1234567890130","enabled":true},{"key":"skuFilter","value":"articleCode==\"501\"","enabled":true},{"key":"baseUrl","value":"https://www.latestcollection.fashion","enabled":true},{"key":"zeroQtyPurchaseorderId","value":"","enabled":true,"type":"any"},{"key":"zeroQtyPurchaseorderOrderNumber","value":"","enabled":true,"type":"any"}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/84a067c79945f4e634f1eb754d66c57ae97f286e33ff858f97196f7edf4e458e","favicon":"https://res.cloudinary.com/postman/image/upload/v1733469728/team/fb94b4cd96890f7a7f99cb52b4d0417b.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"LatestCollection example","value":"10671098-085b5fcf-fd45-4755-8903-faf6676dfb51"}],"canonicalUrl":"https://developer.latestcollection.com/view/metadata/TVsyg5ph"}