Amazon Marketplace · JSON Structure

Amazon Marketplace Sort Structure

An object that contains two attributes, SortBy and SortOrder.

Type: object Properties: 2
CommerceISVMarketplaceSoftware Catalog

Sort is a JSON Structure definition published by Amazon Marketplace, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

SortBy SortOrder

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-marketplace/refs/heads/main/json-structure/amazon-marketplace-sort-structure.json",
  "name": "Sort",
  "description": "An object that contains two attributes, <code>SortBy</code> and <code>SortOrder</code>.",
  "type": "object",
  "properties": {
    "SortBy": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SortBy"
        },
        {
          "description": "<p>For <code>ListEntities</code>, supported attributes include <code>LastModifiedDate</code> (default), <code>Visibility</code>, <code>EntityId</code>, and <code>Name</code>.</p> <p>For <code>ListChangeSets</code>, supported attributes include <code>StartTime</code> and <code>EndTime</code>.</p>"
        }
      ]
    },
    "SortOrder": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SortOrder"
        },
        {
          "description": "The sorting order. Can be <code>ASCENDING</code> or <code>DESCENDING</code>. The default value is <code>DESCENDING</code>."
        }
      ]
    }
  }
}