Get products page. Default page response size is 50, max requested page size is 100.

get/site/{site_name}/ecommerce/products

Request

  • Base URL
    https://api-sandbox.duda.co/api/integrationhub/application
  • URL
    https://api-sandbox.duda.co/api/integrationhub/application/site/{site_name}/ecommerce/products
  • Auth
    none required

Path parameters

site_namestring required

The unique identifier for the target Site.

Query parameters

offsetinteger

Zero-based offset for elements (0..N)

limitinteger

The size of the page to be returned

sortstring[]

Sorting criteria in the format: property(asc|desc). Sort order is optional, default sort order is ascending. Multiple sort criteria are supported.

Headers

x-duda-access-tokenstring

The specific access token to access this site API.

authorizationstring

Your App Account's username and password, base64'd.

Response

200

limitinteger
offsetinteger
site_namestring
total_responsesinteger

Example response

{
  "results": [
    {
      "description": "The most amazing t shirt ever sold",
      "external_id": "KTP9XGbSg2",
      "id": "IakdKbiUiK",
      "images": [
        {
          "alt": "Image of fancy shirt",
          "url": "https://images.pexels.com/photos/1020585/pexels-photo-1020585.jpeg"
        }
      ],
      "name": "Amazing T-shirt",
      "options": [
        {
          "choices": [
            {
              "id": "db3je27rg7",
              "value": "45"
            }
          ],
          "id": "WMd1xylGrp",
          "name": "Shirt size"
        }
      ],
      "prices": [
        {
          "compare_at_price": "19.99",
          "currency": "USD",
          "price": "12.34"
        }
      ],
      "seo": {
        "description": "Amazing T-shirt made with 100% biologic cotton",
        "product_url": "amazing-t-shirt",
        "title": "Amazing T-shirt"
      },
      "sku": "UGG-BB-PUR-06",
      "status": "ACTIVE",
      "variations": [
        {
          "external_id": "KTP9XGbSg2",
          "id": "KTP9XGbSg2",
          "images": [
            {
              "alt": "Image of fancy shirt",
              "url": "https://images.pexels.com/photos/1020585/pexels-photo-1020585.jpeg"
            }
          ],
          "options": [
            {
              "choice_id": "db3je27rg7",
              "choice_value": "45",
              "option_id": "WMd1xylGrp",
              "option_name": "Shirt size"
            }
          ],
          "price_difference": "string",
          "quantity": 25,
          "sku": "UGG-BB-PUR-06",
          "status": "ACTIVE",
          "stock_status": "IN_STOCK, OUT_OF_STOCK"
        }
      ]
    }
  ],
  "site_name": "string"
}

Changes