{
  "opencollection": "1.0.0",
  "info": {
    "name": "VTex Anti-fraud Provider Account Get Versions API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Get Versions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "VTex Get all Versions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{providerApiEndpoint}/suggestions/:sellerId/:sellerskuid/versions",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              },
              {
                "name": "Content-Type",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "accountName",
                "value": "",
                "type": "path",
                "description": "Name of the VTEX account. Used as part of the URL"
              },
              {
                "name": "sellerId",
                "value": "",
                "type": "path",
                "description": "A string that identifies the seller in the marketplace. This ID must be created by the marketplace and informed to the seller before the integration is built."
              },
              {
                "name": "sellerskuid",
                "value": "",
                "type": "path",
                "description": "A string that identifies the SKU in the marketplace. This is the ID that the marketplace will use for future references to this SKU, such as price and inventory notifications."
              }
            ]
          },
          "docs": "Whenever an SKU Suggestion is updated or changed, a new version of the original one is created. All versions are logged, so you can search for previous our current states of SKU suggestions. \n\nThis endpoint retrieves the data of *all* previous and latest versions of a specific SKU suggestion, sent by the seller. Whenever an SKU is updated, it is important to map previous versions, to compare and identify changes. \n\nThe response's object [latestversion] provides the information of the most recent"
        },
        {
          "info": {
            "name": "VTex Get Version by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{providerApiEndpoint}/suggestions/:sellerId/:sellerskuid/versions/:version",
            "headers": [
              {
                "name": "Accept",
                "value": ""
              },
              {
                "name": "Content-Type",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "accountName",
                "value": "",
                "type": "path",
                "description": "Name of the VTEX account. Used as part of the URL"
              },
              {
                "name": "sellerId",
                "value": "",
                "type": "path",
                "description": "A string that identifies the seller in the marketplace. This ID must be created by the marketplace and informed to the seller before the integration is built."
              },
              {
                "name": "sellerskuid",
                "value": "",
                "type": "path",
                "description": "A string that identifies the SKU in the marketplace. This is the ID that the marketplace will use for future references to this SKU, such as price and inventory notifications."
              },
              {
                "name": "version",
                "value": "",
                "type": "path",
                "description": "Whenever an SKU Suggestion is updated or changed, a new version of the original one is created. All versions are logged, so you can search for previous our current states of SKU suggestions. This field is the `versionId` associated to the version you choose to search for. You can get this field's value through the [Get SKU Suggestion by ID](https://developers.vtex.com/vtex-rest-api/reference/getsuggestion). through the `latestVersionId` field."
              }
            ]
          },
          "docs": "Whenever an SKU Suggestion is updated or changed, a new version of the original one is created. All versions are logged, so you can search for previous our current states of SKU suggestions. \n\nThis endpoint retrieves a specific *version* of a chosen SKU sent by the seller. Add the Seller's ID, Seller's SKU ID, and version ID in the path to detail your search."
        }
      ]
    }
  ],
  "bundled": true
}