{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown","redocly_category":"Guides","api_domain":"Cross API"},"seo":{"title":"Success responses","description":"Successful response formats and status codes used by Sales Layer REST APIs.","keywords":["Sales Layer","REST API","OpenAPI","DAM API","Catalog API","product catalog API","image management API","API integration"],"lang":"en-US","meta":[{"name":"og:type","content":"website"},{"name":"og:site_name","content":"Sales Layer REST API Documentation"},{"name":"og:title","content":"Sales Layer REST API Documentation"},{"name":"og:description","content":"Complete REST API documentation for Sales Layer's DAM and Catalog APIs. Learn authentication, pagination, filtering, and integration patterns."},{"name":"twitter:card","content":"summary_large_image"},{"name":"twitter:site","content":"@saleslayer"},{"name":"twitter:title","content":"Sales Layer REST API Documentation"},{"name":"twitter:description","content":"Complete REST API documentation for Sales Layer's DAM and Catalog APIs. Learn authentication, pagination, filtering, and integration patterns."}],"llmstxt":{"hide":false,"title":"Sales Layer REST API Documentation","description":"Technical guides and OpenAPI references for Sales Layer DAM and Catalog REST APIs.","sections":[{"title":"Guides","description":"Static API guides for authentication, headers, query parameters, responses, rate limiting, and best practices.","includeFiles":["guides/**/*.md","changelog.md"],"excludeFiles":[]},{"title":"API Reference","description":"OpenAPI-based references and API overview pages for Sales Layer REST APIs.","includeFiles":["apis/**/*.md","apis/**/*.yaml"],"excludeFiles":[]},{"title":"Postman collections","description":"Importable Postman collection and environment instructions for testing Sales Layer REST APIs.","includeFiles":["postman/**/*.md"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"success-responses","__idx":0},"children":["Success responses"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Sales Layer REST APIs use standard HTTP status codes to indicate successful operations."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The current OpenAPI specifications document these success status codes:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Status code"},"children":["Status code"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Typical use"},"children":["Typical use"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200 OK"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Successful read operation, usually with a response body."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["201 Created"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Successful create operation."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["204 No Content"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Successful update or delete operation without a response body."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"200-ok","__idx":1},"children":["200 OK"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200 OK"]}," is used when the API returns data."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["List responses may include metadata such as count or navigation links."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"@readLink\": \"https://api2.saleslayer.com/catalog/rest/Catalog/Products?$top=10\",\n  \"@nextLink\": \"https://api2.saleslayer.com/catalog/rest/Catalog/Products?$skipToken=TOKEN_VALUE\",\n  \"value\": [],\n  \"@count\": 0\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The exact response schema depends on the endpoint. Use the OpenAPI reference for the operation you call."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"201-created","__idx":2},"children":["201 Created"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["201 Created"]}," is used when a resource is created successfully."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create operations may include a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Location"]}," response header with the URL of the created resource."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"HTTP/1.1 201 Created\nLocation: https://api2.saleslayer.com/catalog/rest/Catalog/Products(3)\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"204-no-content","__idx":3},"children":["204 No Content"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["204 No Content"]}," is used when an operation succeeds but there is no response body."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This is common for update and delete operations."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Example:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"http","header":{"controls":{"copy":{}}},"source":"HTTP/1.1 204 No Content\n","lang":"http"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"implementation-notes","__idx":4},"children":["Implementation notes"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Do not require a JSON body for ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["204 No Content"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Read ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Location"]}," headers on ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["201 Created"]}," when present."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use the operation-specific OpenAPI schema to parse ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200 OK"]}," responses."]}]}]},"headings":[{"value":"Success responses","id":"success-responses","depth":1},{"value":"200 OK","id":"200-ok","depth":2},{"value":"201 Created","id":"201-created","depth":2},{"value":"204 No Content","id":"204-no-content","depth":2},{"value":"Implementation notes","id":"implementation-notes","depth":2}],"frontmatter":{"seo":{"title":"Success responses","description":"Successful response formats and status codes used by Sales Layer REST APIs."},"keywords":{"includes":["success responses","status codes",200,201,204]},"metadata":{"redocly_category":"Guides","api_domain":"Cross API"}},"lastModified":"2026-06-04T20:25:57.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/success-responses","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}