{ "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", "ETag": "W/\"dbb4ece13149fc4b316b80daa1f4956f\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "1b1411c2-0705-4da8-90ac-6a57b7e39e35", "X-Runtime": "0.007724", "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-08-21T21:49:41.416Z\",\n \"policy\": \"standard\",\n \"purchased\": 0,\n \"reserve\": 0,\n \"sellable\": 5,\n \"updated_at\": \"2019-08-21T21:49:41.416Z\"\n },\n {\n \"_id\": \"SKU0\",\n \"available\": 5,\n \"backordered\": 0,\n \"backordered_until\": null,\n \"created_at\": \"2019-08-21T21:49:41.387Z\",\n \"policy\": \"standard\",\n \"purchased\": 0,\n \"reserve\": 0,\n \"sellable\": 5,\n \"updated_at\": \"2019-08-21T21:49:41.387Z\"\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" }