---
agentTools:
  projectIndex: https://aasaan.readme.io/llms.txt
---

# Gets the current product ordering.

Gets the current product ordering.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "AASAAN PARTNER REST API",
    "version": "1.0.0",
    "description": "REST API endpoints are organized by resource type. You’ll need to use different endpoints depending on your app’s requirements."
  },
  "servers": [
    {
      "url": "https://apiservice.lightbooks-dev.io/api/v1/partner-integrations/stores",
      "description": "Development server"
    }
  ],
  "paths": {
    "/{storeId}/product-ordering": {
      "get": {
        "summary": "Gets the current product ordering.",
        "tags": [
          "Store Front"
        ],
        "description": "Gets the current product ordering.",
        "parameters": [
          {
            "name": "storeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "description": "Store ID for this resource request"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "An ordered list of all products sorted by their current display ordering.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string",
                        "description": "product id of the specified product",
                        "example": "product-id-1"
                      },
                      "name": {
                        "type": "string",
                        "description": "name of the product",
                        "example": "sample product name goes here"
                      }
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Invalid Api Key."
          },
          "500": {
            "description": "Internal Server Error"
          }
        },
        "x-amazon-apigateway-integration": {
          "type": "aws_proxy",
          "httpMethod": "GET",
          "uri": "arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:128512798967:function:aasaan-api-dev-serverless/invocations",
          "passthroughBehavior": "when_no_match",
          "responses": {
            "default": {
              "statusCode": 200
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 100,
      "1": 139,
      "2": 202,
      "3": 12,
      "4": 35,
      "5": 189,
      "6": 78,
      "7": 3,
      "8": 76,
      "9": 95,
      "10": 61,
      "11": 157
    }
  }
}
```