LogoLogo
Build appsContact API support
  • Build apps
  • Site Templates
  • API Reference
  • Changelog
  • REST API
    • REST API overview
    • Store Profile
      • Get store profile
      • Update store profile
      • Upload store logo image
      • Delete store logo image
      • Store reports
        • Get store reports
        • Get latest store update stats
        • Get deleted items history
    • Orders
      • Search orders
      • Get order
      • Get last order
      • Calculate order details
      • Update order
      • Create order
      • Delete order
      • Get repeat order URL
      • Order invoices
        • Get order receipt PDF
        • Get tax invoices for order
        • Generate tax invoice for order
      • Order statuses
        • Search order statuses
        • Get order status
        • Update custom order status
      • Order extra fields
        • Search order extra fields
        • Update order extra field
        • Add extra fields to order
        • Delete order extra field
      • Abandonned carts
        • Search abandoned carts
        • Get abandoned cart
        • Update abandoned cart
        • Convert abandoned cart to order
      • Recurring subscriptions
        • Search recurring subscriptions
        • Get recurring subscription
        • Update recurring subscription
    • Products
      • Search products
      • Get product
      • Update product
      • Create product
      • Delete product
      • Delete all products
      • Adjust product stock
      • Get product filters
      • Get recently used product swatches
      • Search product brands
      • Product images and videos
        • Upload main product image
        • Upload main product image (async)
        • Upload gallery product image
        • Upload gallery product image (async)
        • Delete main product image
        • Delete gallery product image
        • Delete all gallery product images
        • Upload main product video
        • Upload gallery product video
        • Upload cover for gallery video
        • Delete main product video
        • Delete gallery product video
        • Download gallery product video
        • Bulk update product images and videos
      • Product files
        • Upload product file
        • Download product file
        • Delete product file
        • Delete all product files
        • Change product file description
      • Product variations
        • Search product variations
        • Get product variation
        • Update product variation
        • Create product variation
        • Delete product variation
        • Delete all product variations
        • Adjust product variation stock
        • Upload product variation image
        • Upload product variation image (async)
        • Delete product variation image
      • Product types and attributes
        • Search product types
        • Get product type
        • Update product type and attributes
        • Create product type
        • Delete product type
      • Product reviews
        • Search product reviews
        • Get product reviews stats
        • Update product review status
        • Bulk update/delete product reviews
        • Delete product review
    • Categories
      • Search categories
      • Search categories by path
      • Get category
      • Update category
      • Create category
      • Delete category
      • Category images
        • Upload category image
        • Upload category image (async)
        • Delete category image
      • Manage order of categories in the store
        • Get order of categories
        • Update order of categories
      • Manage order of products in the category
        • Get order of products
        • Update order of products
        • Assign products to the category
        • Unassign products from the category
    • Customers
      • Search customers
      • Get customer
      • Update customer
      • Create customer
      • Delete customer
      • Customer groups
        • Search customer groups
        • Get customer group
        • Update customer group name
        • Create customer group
        • Delete customer group
      • Customer contacts
        • Search customer contacts
        • Get customer contact
        • Update customer contact
        • Create customer contact
        • Delete customer contact
      • Customer extra fields
        • Search customer extra fields
        • Get customer extra field
        • Update customer extra field
        • Create customer extra field
        • Delete customer extra field
    • Discounts
      • Promotions
        • Search promotions
        • Update promotion
        • Create promotion
        • Delete promotion
      • Discount coupons
        • Search discount coupons
        • Get discount coupon
        • Update discount coupon
        • Create discount coupon
        • Delete discount coupon
    • Domains
      • Search store domains
      • Update store domains
      • Search domains for purchase
      • Purchase domain
      • Send domain verification email
      • Reset domain password
    • Dictionaries
      • Country codes
      • Currency codes
      • Currency codes by country
      • State codes by country
      • Tax classes by country
    • Staff accounts
      • Search staff accounts
      • Get staff account
      • Get staff account scopes
      • Update staff account
      • Create staff account
      • Delete staff account
      • Resend staff account invite
      • Cancel staff account invite
    • Application
      • Get app subscription status
      • Cancel app subscription
      • Get all app storage data
      • Get specific app storage data
      • Update specific app storage data
      • Delete specific app storage data
      • Add app storage data
      • Custom charge with Ecwid billing
    • Batch requests
      • Create batch request
      • Get batch status
      • Search batch requests by status
      • Stop batch request
      • Stop and delete batch request
    • Shipping options
      • Search shipping options
      • Update shipping option
      • Create shipping option
      • Delete shipping option
    • Payment options
      • Search payment options
      • Get payment option
      • Update payment option
      • Create payment option
      • Delete payment option
    • Checkout extra fields
      • Add checkout extra fields with JavaScript
      • Manage checkout extra fields with REST API
        • Search checkout extra fields
        • Get checkout extra field
        • Update checkout extra field
        • Create checkout extra field
        • Delete checkout extra field
    • Storefront widget details
      • Get page slug and static code
      • Set base URL for storefront widgets
      • Optimize custom website SEO with better URLs
        • Enable Clean Store URLs on a custom website
        • Set Custom Page Slugs on a custom website
      • Dynamic loading for storefront widget
      • SSO (Single-Sign-On) for websites
        • Add SSO to the website
        • Customize SSO on the website
        • SSO code examples
      • Static store pages
        • Static code for home page
        • Static code for category page
        • Static code for product page

Lightspeed® 2025

On this page
  • Required access scopes
  • Path params
  • Query params
  • Headers
  • Response JSON

Was this helpful?

  1. REST API
  2. Products

Get product

GET https://app.ecwid.com/api/v3/{storeId}/products/{productId}

Request and response example

Request:

curl --location 'https://app.ecwid.com/api/v3/1003/products/692730761' \
--header 'Authorization: Bearer secret_ab***cd'

Response:

{
    "id": 692730761,
    "sku": "123123",
    "thumbnailUrl": "https://d2j6dbq0eux0bg.cloudfront.net/images/1003/4519591923.jpg",
    "unlimited": true,
    "inStock": true,
    "name": "Toys",
    "nameTranslated": {
        "cs": "",
        "en": "Toys"
    },
    "price": 10,
    "priceInProductList": 10,
    "defaultDisplayedPrice": 10,
    "defaultDisplayedPriceFormatted": "€10,00",
    "tax": {
        "taxable": true,
        "defaultLocationIncludedTaxRate": 10,
        "enabledManualTaxes": [
            947976181
        ],
        "taxClassCode": "default"
    },
    "lowestPrice": 10,
    "defaultDisplayedLowestPrice": 10,
    "defaultDisplayedLowestPriceFormatted": "€10,00",
    "lowestPriceSettings": {
        "lowestPriceEnabled": true
    },
    "isShippingRequired": false,
    "hasFreeShipping": false,
    "url": "https://store1003.company.site/products/toys-692730761",
    "autogeneratedSlug": "toys-692730761",
    "customSlug": "",
    "created": "2024-09-04 07:20:11 +0000",
    "updated": "2024-09-04 07:20:12 +0000",
    "createTimestamp": 1725434411,
    "updateTimestamp": 1725434412,
    "productClassId": 0,
    "enabled": true,
    "options": [],
    "warningLimit": 1,
    "fixedShippingRateOnly": false,
    "fixedShippingRate": 0,
    "shipping": {
        "type": "GLOBAL_METHODS",
        "methodMarkup": 0,
        "flatRate": 0,
        "disabledMethods": [],
        "enabledMethods": []
    },
    "defaultCombinationId": 0,
    "imageUrl": "https://d2j6dbq0eux0bg.cloudfront.net/images/1003/4519591921.jpg",
    "smallThumbnailUrl": "https://d2j6dbq0eux0bg.cloudfront.net/images/1003/4519591920.jpg",
    "hdThumbnailUrl": "https://d2j6dbq0eux0bg.cloudfront.net/images/1003/4519591922.jpg",
    "originalImageUrl": "https://d2j6dbq0eux0bg.cloudfront.net/images/1003/4519591919.jpg",
    "originalImage": {
        "url": "https://d2j6dbq0eux0bg.cloudfront.net/images/1003/4519591919.jpg",
        "width": 225,
        "height": 225
    },
    "borderInfo": {
        "dominatingColor": {
            "red": 255,
            "green": 255,
            "blue": 255,
            "alpha": 255
        },
        "homogeneity": true
    },
    "description": "",
    "descriptionTranslated": {
        "cs": "",
        "en": ""
    },
    "galleryImages": [],
    "media": {
        "images": [
            {
                "id": "0",
                "isMain": true,
                "orderBy": 0,
                "image160pxUrl": "https://d2j6dbq0eux0bg.cloudfront.net/images/1003/4519591920.jpg",
                "image400pxUrl": "https://d2j6dbq0eux0bg.cloudfront.net/images/1003/4519591923.jpg",
                "image800pxUrl": "https://d2j6dbq0eux0bg.cloudfront.net/images/1003/4519591922.jpg",
                "image1500pxUrl": "https://d2j6dbq0eux0bg.cloudfront.net/images/1003/4519591921.jpg",
                "imageOriginalUrl": "https://d2j6dbq0eux0bg.cloudfront.net/images/1003/4519591919.jpg",
                "alt": {
                    "translated": {}
                }
            }
        ],
        "videos": []
    },
    "categoryIds": [],
    "categories": [],
    "defaultCategoryId": 0,
    "seoTitle": "Toys",
    "seoTitleTranslated": {
        "cs": "",
        "en": "Toys"
    },
    "seoDescription": "",
    "seoDescriptionTranslated": {
        "cs": "",
        "en": ""
    },
    "favorites": {
        "count": 0,
        "displayedCount": "0"
    },
    "attributes": [],
    "files": [
        {
            "id": 96178524,
            "name": "image.jpeg",
            "description": "",
            "size": 12006,
            "adminUrl": "https://app.ecwid.com/api/v3/1003/products/692730761/files/96178524"
        }
    ],
    "relatedProducts": {
        "productIds": [],
        "relatedCategory": {
            "enabled": false,
            "categoryId": 0,
            "productCount": 5
        }
    },
    "combinations": [],
    "dimensions": {
        "length": 0,
        "width": 0,
        "height": 0
    },
    "shippingPreparationTime": {},
    "showDeliveryTimeInStorefront": false,
    "volume": 0,
    "showOnFrontpage": 11,
    "isSampleProduct": false,
    "googleItemCondition": "NEW",
    "isGiftCard": false,
    "discountsAllowed": true,
    "nameYourPriceEnabled": false,
    "subscriptionSettings": {
        "subscriptionAllowed": false,
        "oneTimePurchaseAllowed": true,
        "recurringChargeSettings": [
            {
                "recurringInterval": "MONTH",
                "recurringIntervalCount": 1
            }
        ]
    },
    "googleProductCategory": 412,
    "googleProductCategoryName": "Food, Beverages & Tobacco",
    "productCondition": "NEW",
    "outOfStockVisibilityBehaviour": "SHOW"
}

Required access scopes

Your app must have the following access scopes to make this request: read_catalog

Path params

All path params are required.

Param
Type
Description

storeId

number

Ecwid store ID.

productId

number

Internal product ID.

Query params

All query params are optional.

Param
Type
Description

baseUrl

string

Set base URL for links in response. If not specified, Ecwid will use the main URL from store settings.

cleanUrls

boolean

Set true to force receiving clean URLs – catalog links without hashbang (/#!/). By default Ecwid checks if this setting is enabled for the store and responds with matching URLs.

slugsWithoutIds

boolean

Set trueto receive product page slug without ID. By default Ecwid checks if this setting is enabled for the store and responds with matching URLs.

lang

string

Language ISO code for translations in JSON response, e.g. en, fr. Changes language for fields with several translations, for example: title, description, pickupInstruction, text.

responseFields

string

Limit JSON response by specific fields. If specified, all missing fields will be removed from the response body. Example: ?responseFields=id,name,price,sku

Example of using responseFields param:

curl --location 'https://app.ecwid.com/api/v3/1003/products/12345?responseFields=id,name,price,sku' \
--header 'Authorization: Bearer secret_ab***cd'
{
    "id": 692730761,
    "name": "Toys",
    "price": 10,
    "sku": "123123"
}

Headers

The Authorization header is required.

Header
Format
Description

Authorization

Bearer secret_ab***cd

Access token of the application.

Response JSON

A JSON object with the following fields:

Field
Type
Description

id

number

Internal unique product ID.

sku

string

Product SKU. Items with options can have several SKUs specified in the product variations.

quantity

number

Amount of product items in stock (available for purchase).

If the product has unlimited stock (unlimited is true), this field is not returned.

unlimited

boolean

Defines if the product has unlimited stock.

inStock

boolean

Defines if the product or any of its variations are in stock (quantity is more than 0).

name

string

Product name visible on the storefront.

nameTranslated

string

Available translations for the product name.

price

number

Base product price without any modifiers.

priceInProductList

number

Product price as it's shown on the storefront. May differ from price if pre-selected product options or variations modify the price. Does not include taxes

defaultDisplayedPrice

number

Product price as it's shown on the storefront for logged out customers with default location (store location). pre-selected product options or variations modify the price. Includes taxes

defaultDisplayedPriceFormatted

string

Formatted variant (curency symbol and delimeter settings) of defaultDisplayedPrice based on the store's format settings. For example, €11,00

costPrice

number

Purchase price of the product in the specific order used for reports and profit calculations.

tax

object tax

Detailed information about product's taxes.

wholesalePrices

Sorted list of wholesale price tiers: "minimum quantity = price" pairs.

compareToPrice

number

Product pre-sale price with the same value as specified in Ecwid admin (without taxes), e.g. 40.

compareToPriceFormatted

string

Formatted display of compareToPrice with a currency symbol, e.g. €44,00.

Includes taxes when a store uses net prices (prices don't include taxes). Displayed as strikethrough price on the storefront.

compareToPriceDiscount

number

Discount from the sale price, e.g. -11.

compareToPriceDiscountFormatted

string

Formatted discount from the sale price, e.g. €11,00.

compareToPriceDiscountPercent

number

Discount percent from the sale price, e.g. -25.

compareToPriceDiscountPercentFormatted

string

Sale price discount percent (with percent sign), e.g. -25%.

defaultDisplayedCompareToPrice

number

Product pre-sale price including taxes, e.g. 44.

defaultDisplayedCompareToPriceFormatted

string

Formatted display of compareToPrice with a currency symbol, e.g. €44,00. Includes taxes when a store uses net prices. Displayed as strikethrough price on the storefront.

defaultDisplayedCompareToPriceDiscount

number

Discount from the sale price, e.g. -11.

defaultDisplayedCompareToPriceDiscountFormatted

string

Formatted discount from the sale price, e.g. €11,00.

defaultDisplayedCompareToPriceDiscountPercent

number

Discount percent from the sale price, e.g. -25.

defaultDisplayedCompareToPriceDiscountPercentFormatted

string

Sale price discount percent (with percent sign), e.g. -25%.

lowestPriceSettings

isShippingRequired

boolean

Defines if the product requires shipping.

weight

number

Product weight in the units defined in store settings. If the product doesn't have weight, this field is not returned.

url

string

Link to the product details page on the storefront. It is affected by page slug settings: customSlug has the highest priority, and if it's empty automgeneratedSlug is used.

autogeneratedSlug

string

Page slug generated for the product page URL automatically. If the product doesn't have custom slug, this field will be automatically updated whe the product's name is changed.

customSlug

string

Custom slug defined by the store owner. Affects product page URL.

created

string

Datetime of the product creation. For example: 2024-07-30 10:32:37 +0000

updated

string

Datetime of the latest product change whether it was API call or a change made through Ecwid admin. For example: 2024-07-30 10:32:37 +0000

createTimestamp

number

UNIX timestamp of the product creation. For example: 1427268654

updateTimestamp

number

UNIX timestamp of the latest product change whether it was API call or a change made through Ecwid admin. For example: 1427268654

productClassId

number

enabled

boolean

Defines if the product is enabled and visible on the storefront. If false, the product can't be opened on the storefront or added to the cart.

options

Detailed list of product options. Empty ([]) if no options are specified for the product.

warningLimit

number

Minimum amount of products in stock to trigger an automated "low stock" email notification for the store owner.

fixedShippingRateOnly

boolean

Legacy feature – see shipping field instead. true if shipping cost for this product is calculated as 'Fixed rate per item' (managed under the "Tax and Shipping" section of the product management page in Ecwid Control panel). false otherwise. With this option on, the fixedShippingRate field specifies the shipping cost of the product.

fixedShippingRate

number

Legacy feature – see shipping field instead. When fixedShippingRateOnly is true, this field sets the product fixed shipping cost per item. When fixedShippingRateOnly is false, the value in this field is treated as an extra shipping cost the product adds to the global calculated shipping

shipping

Shipping settings specific to the product.

defaultCombinationId

number

Identifier of the default product variation, which is defined by the default values of product options.

originalImage

Details about product main image.

galleryImages

Details about product gallery images (for updating alt tags and sort order).

description

string

Product description in HTML format. Scripts inside product descriptions are not supported.

descriptionTranslated

Available translations for the product description.

media

Details about product images and videos.

categoryIds

array of numbers

List of the category IDs the product belongs to.

categories

Detailed list of the category IDs the product belongs to.

defaultCategoryId

number

Default category ID of the product. If value is 0, then product does not have a default category and is not shown anywhere in storefront

seoTitle

string

Page title for search engines. Recommended length < 55 characters.

seoTitleTranslated

Translations for the SEO page title.

seoDescription

string

Page description for search engines. Recommended length < 160 characters.

seoDescriptionTranslated

Translations for the SEO page description.

favorites

Stats showing how many times the product was added to favorites on the storefront.

attributes

List of product attributes and their values.

files

Details about downloadable files attached to the product.

relatedProducts

List of related products displayed as "You may also like" products of the product.

combinations

Details about product variations.

dimensions

Product's dimensions.

volume

number

Product volume for calculations shipping costs, fractional number, 0 by default.

showOnFrontpage

number

Product index on the main storefront page starting with 1.

subscriptionSettings

Internal details for subscription products. Only available for payment methods developed by Ecwid team.

isSampleProduct

boolean

Defines sample product created by Ecwid. Sample products are unavailable for purchase.

isGiftCard

boolean

Defines if a product is a gift card.

subtitle

string

Small product description visible on category and product pages under the product title.

subtitleTranslated

Available translations for product subtitles.

discountsAllowed

boolean

Defines if Ecwid can apply discounts to the product.

externalReferenceId

string

External ID for products synced from external services, for example, POS.

outOfStockVisibilityBehaviour

boolean

Defines if a product is visible and/or can be pre-ordered when out-of-stock. Requires enabled pre-orders on the store level: allowPreordersForOutOfStockProducts setting in /profile endpoint. Supported values: SHOW - Show out-of-stock products, but adding them to the cart is impossible. HIDE - Hide out-of-stock products. ALLOW_PREORDER - Show out-of-stock products and allow them to be added to the cart.

minPurchaseQuantity

number

Sets minimum product purchase quantity. Default value is null.

maxPurchaseQuantity

number

Sets maximum product purchase quantity. Default value is null.

reviewsCollectingAllowed

boolean

When true, allows to collect, check, and publish reviews for this product in store.

rating

number

Average rating from product reviews.

reviewsPublished

number

Number of reviews published by the store owner.

reviewsModerated

number

Number of reviews waiting for store owner's approval.

favorites

Field
Type
Description

count

number

Total count the product was added to favorites on the storefront.

displayedCount

string

The number of likes visible on the storefront. May differ from the count exceeds 1000 - it will show 1K instead of the precise number.

wholesalePrices

Field
Type
Description

quantity

number

Number of product items on this wholesale tier.

price

number

Product price on the tier.

lowestPriceSettings

Field
Type
Description

lowestPriceEnabled

boolean

Defines if the lowest price is enabled for the product and shown on the storefront.

manualLowestPrice

number

Manually entered lowest price for the last 30 days before any discounts or taxes applied.

defaultDisplayedManualLowestPrice

number

manualLowestPrice with taxes applied.

defaultDisplayedManualLowestPriceFormatted

string

Formatted display of defaultDisplayedManualLowestPrice using store format settings.

automaticLowestPrice

number

Automatically calculated lowest price for the last 30 days before any discounts or taxes applied. Read-only

defaultDisplayedAutomaticLowestPrice

number

automaticLowestPrice with taxes applied. Read-only

defaultDisplayedAutomaticLowestPriceFormatted

string

Formatted display of defaultDisplayedAutomaticLowestPrice using store format settings. Read-only

options

choices

shipping

Field
Type
Description

type

string

One of: "GLOBAL_METHODS", "SELECTED_METHODS", "FLAT_RATE", "FREE_SHIPPING". "GLOBAL_METHODS" – all standard shipping methods set up in store settings; "SELECTED_METHODS" – Ecwid will use enabledMethods and disabledMethods list to make shipping calculations; "FLAT_RATE" – sets flat rate for product's shipping, see flatRate field.

methodMarkup

number

Additional product shipping cost added to any shipping methods.

flatRate

number

Flat rate cost for shipping the product. If set, shipping costs for it will not be calculated.

disabledMethods

array of strings

enabledMethods

array of strings

originalImage

Field
Type
Description

url

string

Link to the full-size main product image.

width

number

Width of the full-size main product image in px.

height

number

Height of the full-size main product image in px.

galleryImages

Field
Type
Description

id

number

Internal ID for the gallery image.

url

string

Link to the gallery image image.

thumbnail

string

Link to the gallery image thumbnail resized to fit 160x160px container.

originalImageUrl

string

Link to the full-sized gallery image.

imageUrl

string

Link to the gallery image resized to fit 1200x1200px container.

hdThumbnailUrl

string

Link to the gallery image thumbnail resized to fit 800x800px container.

thumbnailUrl

string

Link to the gallery image thumbnail resized to fit 400x400px container.

smallThumbnailUrl

string

Link to the gallery image thumbnail resized to fit 160x160px container.

width

number

Width of the full-sized gallery image in px.

height

number

Height of the full-sized gallery image in px.

orderBy

number

Consecutive number of an image in the gallery. Starts with 0 for the first image, then iterates by 1.

borderInfo

Details about image border added at the storefront.

borderInfo

Field
Type
Description

dominatingColor

Border color in RGBa format.

homogeneity

boolean

Defines if an image is homogeneous.

dominatingColor

Field
Type
Description

red

number

Red channel (from 0 to 255, RGB).

green

number

Green channel (from 0 to 255, RGB).

blue

number

Blue channel (from 0 to 255, RGB).

alpha

number

Alpha channel (from 0 to 255).

media

Field
Type
Description

images

Details about product images.

videos

Details about product videos.

images

Field
Type
Description

id

string

Internal image ID in a string format. Starts with "0" and interates by 1.

alt

Image description for the "alt" HTML attribute and its translations.

orderBy

number

Consecutive number of an image in the gallery. Do not use for sorting. Use galleryImages[] > orderBy instead.

isMain

boolean

Defines the main product image (if true).

image160pxUrl

string

Link to the product image resized to fit 160x160px.

image400pxUrl

string

Link to the product image resized to fit 400x400px.

image800pxUrl

string

Link to the product image resized to fit 800x800px

image1500pxUrl

string

Link to the product image resized to fit 1500x1500px

imageOriginalUrl

string

Link to the full-sized product image.

externalId

string

Image ID for Lightspeed R-Series/X-Series image sync. Read-only

alt

Field
Type
Description

main

string

Image description for the "alt" HTML attribute of the image.

translations

Available translations for the "alt" text.

videos

Field
Type
Description

id

number

Internal video ID. Starts with "0" and interates by 1.

videoCoverId

number

Internal ID of the video cover image.

url

boolean

Link to the video file.

embedHtml

string

Video embedding code in HTML.

providerName

string

Video hosting provider name.

title

string

Video title.

image160pxUrl

string

Link to the video cover image resized to fit 160x160px container.

image400pxUrl

string

Link to the video cover image resized to fit 400x400px container.

image800pxUrl

string

Link to the video cover image resized to fit 800x800px container.

image1500pxUrl

string

Link to the video cover image resized to fit 1500x1500px container.

imageOriginalUrl

string

Link to the full-sized video cover image.

categories

Field
Type
Description

id

number

Internal category ID.

name

string

Category name.

nameTranslated

Available translations for the category name.

enabled

boolean

Defines if the category is enabled.

attributes

Field
Type
Description

id

number

Internal attribute ID.

name

string

Attribute name visible on the storefront.

nameTranslated

Available translations for the attribute name.

value

string

Value of the attribute for this product.

valueTranslated

Available translations for the attribute value.

type

string

Attribute type. There are user-defined attributes, general attributes and attributes pre-defined by Ecwid, for example, "price per unit". One of: CUSTOM UPC BRAND GENDER AGE_GROUP COLOR SIZE PRICE_PER_UNIT UNITS_IN_PRODUCT

show

string

Defines if an attribute is visible on a product page. One of: NOTSHOW - Not visible. DESCR - Visible under the product description. PRICE - Visible under the product price

files

Field
Type
Description

id

number

Internal ID of the file attached to the product.

name

string

File name visible to clients.

description

string

File description visible to clients.

size

number

File size in bytes (64-bit integer).

adminUrl

string

Direct link to the file. Important: to download the file, add your API access token to this URL like this: https://app.ecwid.com/api/v3/4870020/products/37208340/files/7215102?token=YOUR-API-TOKEN Do not share links containing access tokens.

relatedProducts

Field
Type
Description

productIds

array of numbers

List of related product IDs.

relatedCategory

Describes the "N random related products from a category" option.

relatedCategory

Field
Type
Description

enabled

boolean

Defines if the "N random related products from a category" option is enabled.

categoryId

number

ID of the related category. Empty value means that related products can be from any category.

productCount

number

Number of random products from the given category.

combinations

Field
Type
Description

id

number

Internal ID for the product variation.

combinationNumber

number

Ordered variation number displayed in Ecwid admin. Starts with 1 and iterates by 1.

options

Set of selected product option values that identify this variation.

sku

string

Variation SKU. If empty, variation inherits the base product's SKU.

thumbnailUrl

string

Link to the variation image resized to fit 400x400px container.

imageUrl

string

Link to the variation image resized to fit 1200x1200px container.

smallThumbnailUrl

string

Link to the variation image resized to fit 160x160px container.

hdThumbnailUrl

string

Link to the variation image resized to fit 800x800px container.

originalImageUrl

string

Link to the full-sized variation image.

instock

boolean

Defines if the variation is in stock (quantity is more than 0).

quantity

number

Number of variation items in stock.

If the variation has unlimited stock (unlimited is true), this field is not returned.

unlimited

boolean

Defines if the variation has unlimited stock.

price

number

Base variation price without any modifiers.

defaultDisplayedPrice

number

Variation price as it's shown on the storefront for logged out customers with default location (store location).

Pre-selected product options or variations modify the price.

Includes taxes

defaultDisplayedPriceFormatted

string

Formatted variant (curency symbol and delimeter settings) of defaultDisplayedPrice based on the store's format settings. For example, €11,00

lowestPrice

number

Variation's lowest price for EU store.

lowestPriceSettings

Variation's lowest price settings contain only one field: lowestPriceEnabled It defines if the lowest price is enabled for the variation.

defaultDisplayedLowestPrice

number

Variation lowest price as it's shown on the storefront for logged out customers with default location (store location). Includes taxes

defaultDisplayedLowestPriceFormatted

string

Formatted variant (curency symbol and delimeter settings) of defaultDisplayedLowestPrice based on the store's format settings. For example, €11,00

wholesalePrices

Sorted list of wholesale price tiers specific to the variation: "minimum quantity = price" pairs.

weight

number

Variation's weight for calculating shipping costs.

volume

number

Variation volume for calculations shipping costs, fractional number, 0 by default.

warningLimit

number

Minimum amount of variation in stock to trigger an automated "low stock" email notification for the store owner.

attributes

List of variation attributes and their values.

compareToPrice

number

Pre-sale price for the variation.

minPurchaseQuantity

number

Sets minimum product purchase quantity. Default value is null.

maxPurchaseQuantity

number

Sets maximum product purchase quantity. Default value is null.

outOfStockVisibilityBehaviour

boolean

Defines if a variation is visible and/or can be pre-ordered when out-of-stock. Requires enabled pre-orders on the store level: allowPreordersForOutOfStockProducts setting in /profile endpoint. Supported values: SHOW - Show out-of-stock variation, but adding it to the cart is disabled. ALLOW_PREORDER - Show out-of-stock variation and allow adding it to the cart.

alt

Image description for the "alt" HTML attribute and its translations.

options (variation)

Field
Type
Description

name

string

Name of the selected option.

nameTranslated

Available translations for the product option name.

value

string

Value of the selected option.

valueTranslated

Available translations for the product option value.

dimensions

Field
Type
Description

length

number

Length of a product for calculating shipping costs.

width

number

Width of a product for calculating shipping costs.

height

number

Height of a product for calculating shipping costs.

subscriptionSettings

Internal details on product subscriptions.

Field
Type
Description

subscriptionAllowed

boolean

true if the product can be sold as subscription ("Sell as subscription" product setting enabled). false otherwise.

oneTimePurchaseAllowed

boolean

true if the product can be purchased once, with no further charges on a regular basis. false otherwise.

oneTimePurchasePrice

number

The cost of the product by subscription with a one-time purchase, null by default.

oneTimePurchasePriceFormatted

string

The cost of the product for a one-time purchase, formatted according to the settings for displaying prices in the store.

oneTimePurchaseMarkup

number

The difference between the price of the product when subscribing and a one-time purchase in absolute values. Calculated automatically when oneTimePurchasePrice that isn’t equal to price is set.

oneTimePurchaseMarkupFormatted

string

The difference between the price of the product when subscribing and a one-time purchase in absolute values. Formatted according to the settings for displaying prices in the store. Updated automatically when the oneTimePurchaseMarkup is changed.

oneTimePurchaseMarkupPercent

number

The difference between the price of the product when subscribing and a one-time purchase as a percentage. Calculated automatically when oneTimePurchasePrice that isn’t equal to price is set.

oneTimePurchaseMarkupPercentFormatted

string

The difference between the price of the product when subscribing and a one-time purchase as a percentage. Formatted according to the settings for displaying prices in the store. Updated automatically when the oneTimePurchaseMarkupPercent is changed.

recurringChargeSettings

Recurring charge settings.

recurringChargeSettings

Internal details on recurring charges for product subscriptions.

Field
Type
Description

recurringInterval

string

Charge recurring interval. Supported values: DAY, WEEK, MONTH, YEAR.

recurringIntervalCount

number

Charge recurring interval. Supported values: for DAY - 1 (daily), for WEEK - 1 (weekly), 2 (biweekly), for MONTH - 1 (monthly), 3 (quarterly), for YEAR - 1 (annually).

subscriptionPriceWithSignUpFee

number

The cost of the product for the first subscription order.

subscriptionPriceWithSignUpFeeFormatted

string

The cost of the product for the first subscription order. Formatted according to the settings for displaying prices in the store. Updated automatically when the subscriptionPriceWithSignUpFee is changed.

signUpFee

number

The size of the markup that is imposed on the first order.

signUpFeeFormatted

string

The size of the markup that is imposed on the first order. Formatted according to the settings for displaying prices in the store. Updated automatically when the signUpFee is changed.

tax

Field
Type
Description

taxable

boolean

Defines if taxes can be applied to the product.

defaultLocationIncludedTaxRate

number

Default tax rate (%) for including into product price. It's a sum of all enabled taxes included in product price for the store location. Read only

enabledManualTaxes

array of numbers

List of internal IDs for manual taxes. Empty if no manual taxes are enabled or automatic taxes are enabled.

taxClassCode

string

Tax class code for the product that determines the taxability of the products for a certain region.

translations

Object with text field translations in the "lang": "text" format, where the "lang" is an ISO 639-1 language code. For example:

{
    "en": "Sample text",
    "nl": "Voorbeeldtekst"
}

Translations are available for all active store languages. Only the default language translations are returned if no other translations are provided for the field. Find active store languages with GET /profile request > languages > enabledLanguages.

Last updated 1 month ago

Was this helpful?

array of objects

object

Product lowest price settings for EU stores. Read more on lowes price settings in .

ID of the product class that affects attributes management. If it's 0 the product belongs to the default "General" class. Read more on product types and attributes in .

array

object

object

object

object

object

array

object

object

object

array of objects

array of objects

object

array of objects

object

object

object

IDs of shipping methods that need to be excluded from calculation when this product is in cart. Full list of shipping method IDs is available thorugh the call.

IDs of shipping methods which will only be shown when this product is in cart. No other shipping methods will be shown. Full list of shipping method IDs is available thorugh the call.

object

object

array of objects

array of objects

object

object

object

object

object

object

array of objects

object

array of objects

array of objects

object

object

object

object

Help Center
Help Center
Store profile
Store profile
wholesalePrices
lowestPriceSettings
options
shipping
originalImage
galleryImages
translations
media
categories
translations
translations
favorites
attributes
files
relatedProducts
combinations
dimensions
subscriptionSettings
translations
borderInfo
dominatingColor
images
videos
alt
translations
translations
translations
translations
relatedCategory
options (variation)
lowestPriceSettings
wholesalePrices
attributes
alt
translations
translations
recurringChargeSettings
Field
Type
Description

type

string

Option type that defines its functionality. One of:

SELECT - Drop-down list with several options. Users can select only one of the options provided.

RADIO - Radio buttons. Users can select only one of the options provided.

CHECKBOX - Checkbox options. Users can select several options at the same time.

TEXTFIELD - Single-line text input field.

TEXTAREA - Multi-lines text input field.

DATE - Date and time selector.

FILES - File uploader for users.

SIZE - Selector for the product sizes. Works the same way as radio buttons.

SWATCHES - Selector for the product colors. Works the same way as radio buttons.

name

string

Product option name. For example: Color or Size.

nameTranslated

object

Available translations for product option name.

choices

array of objects

List of available option choices for users. Only works for the following option types: SELECT, CHECKBOX, RADIO, SIZE, or SWATCHES.

defaultChoice

number

Index of the option's default selection. Can be null (no default option), otherwise starts with 0. Only works for the following option types: SELECT, CHECKBOX, RADIO, SIZE, or SWATCHES.

required

boolean

Defines if this option is required to add product to the cart.

useImageAsSwatchSelector

boolean

Display mode for the color swatches option. Only works with SWATCHES option type.

One of:

  • true - show specific product images when a user choses different color at the storefront.

  • false - show color swatches defines as hex codes when user chooses different color at the storefront.

translations
choices
Field
Type
Description

text

string

Text displayed near the option choise or as it at the storefront. For example, a text near the radio button or a checkbox, choice name in the dropdown list, etc.

textTranslated

object

Available translations for choice's text field.

priceModifier

number

Value of the option's price markup. Positive, negative (in case the option reduces the pice) and zero values are allowed. Default is 0

priceModifierType

string

Option markup calculation type. One of:

PERCENT - price modifier applied as a percent increase to the product price.

ABSOLUTE - price modifier applied as an absolute increase to the product price (default).

hexCodes

array of strings

List of HEX codes.

Defines what color must be displayed when user changes color in the SWATCHES option, for example: ["#fff000"]. Requires useImageAsSwatchSelector to be true.

imageId

string

Internal ID of the product image. Defines what product image must be displayed when user changes color in the SWATCHES option. Requires useImageAsSwatchSelector to be true.

translations