{ "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/\"18449d53c04baf7381ff33c531e06838\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "e398e42b-c3e4-41ae-a2e0-0243955a1827", "X-Runtime": "0.005027", "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-22T17:02:53.522Z\",\n \"policy\": \"standard\",\n \"purchased\": 0,\n \"reserve\": 0,\n \"sellable\": 5,\n \"updated_at\": \"2019-08-22T17:02:53.522Z\"\n },\n {\n \"_id\": \"SKU0\",\n \"available\": 5,\n \"backordered\": 0,\n \"backordered_until\": null,\n \"created_at\": \"2019-08-22T17:02:53.493Z\",\n \"policy\": \"standard\",\n \"purchased\": 0,\n \"reserve\": 0,\n \"sellable\": 5,\n \"updated_at\": \"2019-08-22T17:02:53.493Z\"\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" }