{ "parameters": [ { "name": "page", "description": "Current page" }, { "name": "sort_by", "description": "Field on which to sort (see responses for possible values)" }, { "name": "sort_direction", "description": "Direction to sort (asc or desc)" } ], "response_fields": [ ], "requests": [ { "request_headers": { }, "request_query_parameters": { "page": "1", "sort_by": "created_at", "sort_direction": "desc" }, "response_headers": { "X-Frame-Options": "SAMEORIGIN", "X-XSS-Protection": "1; mode=block", "X-Content-Type-Options": "nosniff", "X-Download-Options": "noopen", "X-Permitted-Cross-Domain-Policies": "none", "Referrer-Policy": "strict-origin-when-cross-origin", "Content-Type": "application/json; charset=utf-8", "X-Requested-With": "", "Vary": "X-Requested-With, X-Workarea-Segments", "Last-Modified": "Wed, 27 Nov 2019 00:35:46 GMT", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "ec855258-1e67-426f-8d90-b4567f7c8b77", "X-Runtime": "0.010326", "X-Workarea-Segments": "", "Expires": "0", "Content-Length": "438" }, "request_method": "GET", "request_path": "/api/admin/inventory_skus?page=1&sort_by=created_at&sort_direction=desc", "request_body": null, "request_content_type": null, "response_status": 200, "response_status_text": "OK", "response_body": "{\n \"inventory_skus\": [\n {\n \"_id\": \"SKU1\",\n \"available\": 5,\n \"backordered\": 0,\n \"backordered_until\": null,\n \"created_at\": \"2019-11-27T00:35:46.013Z\",\n \"policy\": \"standard\",\n \"purchased\": 0,\n \"reserve\": 0,\n \"sellable\": 5,\n \"updated_at\": \"2019-11-27T00:35:46.013Z\"\n },\n {\n \"_id\": \"SKU0\",\n \"available\": 5,\n \"backordered\": 0,\n \"backordered_until\": null,\n \"created_at\": \"2019-11-27T00:35:45.970Z\",\n \"policy\": \"standard\",\n \"purchased\": 0,\n \"reserve\": 0,\n \"sellable\": 5,\n \"updated_at\": \"2019-11-27T00:35:45.970Z\"\n }\n ]\n}", "response_content_type": "application/json", "curl": "curl -g \"https://www.example.com/api/admin/inventory_skus?page=1&sort_by=created_at&sort_direction=desc\" -X GET " } ], "resource": "Inventory SKUs", "description": "Listing inventory SKUs", "route": "/api/admin/inventory_skus", "http_method": "GET" }