LianaCommerce REST API

Meta

response_at
​string · date-time

When the response was made, in the shop's time zone.

Example: 2026-11-22T07:35:27+02:00

Response

​Meta

Error

code
​integer

The HTTP status code.

Example: 400
message
​string

What went wrong. The text is for people and may change; don't parse it.

Example: Parameter 'limit' has invalid value

SelfHref

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
href
​string | null

The page's URL, or null if there is no such page.

Example: https://shop.example.com/api/v1/products?offset=20&limit=20

Paging

Links to the first, previous and next page. Each link carries the request's `limit`, `offset` and filters. At either end of the list the object is still there, with `href` set to `null`.
​PageLink
​PageLink
​PageLink

Collection

Links to the first, previous and next page. Each link carries the request's `limit`, `offset` and filters. At either end of the list the object is still there, with `href` set to `null`.
href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​PageLink
​PageLink
​PageLink

AccountSummary

id
​integer · int64
name
​string
customer_number
​string
email
​string
role_id
​integer

The ID of the account's customer role.

Example: 3
href
​string

The URL of the full account.

Example: https://shop.example.com/api/v1/accounts/1052

ResultIndex

result_index
​integer

The item's 1-based position in this response. Every item has it, also in single-item, POST, PUT and DELETE responses.

Example: 1

AccountSummaryList

​object[]

AccountInput

name
​string

The customer's name. Can't be null; on create it can't be a number.

Example: Maija Virtanen
email
​string

A valid email address that no other account uses, ignoring case. The shop saves it in lowercase. Can't be null.

Example: maija.virtanen@example.com
role_id
​integer

The ID of an existing customer role, see List roles. Admin roles return 400 Insufficient rights, and so does moving an account out of an admin role. Can't be null.

Example: 3
customer_number
​string | null
street
​string | null
street2
​string | null
postal_code
​string | null
city
​string | null
state
​string | null
county
​string | null
country_id
​integer | null

The ID of a delivery country, see List countries. Sets country_name and country_code too. null removes the country.

Example: 72
phone_number
​string | null
company
​string | null
vat_number
​string | null
public_language
​string | null

One of the shop's languages, a two-letter code such as FI. Other values return 400.

Example: FI
gender
​string | null · enum

m, f, x (prefers not to say), or an empty string or null for unknown.

Enum values:
m
f
x
Example: f
birthdate
​string | null · date

An ISO 8601 date. A date-time is accepted too; only the date is stored.

Example: 1988-05-21
email_promotion_allowed
​boolean

Can't be null.

Example: true
mail_promotion_allowed
​boolean

Can't be null.

Example: false
sms_promotion_allowed
​boolean

Can't be null.

Example: false
pays_vat
​string | null · enum

default follows the shop's VAT setting, yes and no override it. An empty string or null means default.

Enum values:
default
yes
no
Example: default
reference
​string | null
credits
​number

Sets the account's credit balance to this amount (it does not add to it). Can't be null.

Example: 25.5
extra_data_1
​string | null
extra_data_2
​string | null
extra_data_3
​string | null

AccountInPost

name
​string · required

The customer's name. Can't be null; on create it can't be a number.

Example: Maija Virtanen
email
​string · required

A valid email address that no other account uses, ignoring case. The shop saves it in lowercase. Can't be null.

Example: maija.virtanen@example.com
role_id
​integer · required

The ID of an existing customer role, see List roles. Admin roles return 400 Insufficient rights, and so does moving an account out of an admin role. Can't be null.

Example: 3
customer_number
​string | null
street
​string | null
street2
​string | null
postal_code
​string | null
city
​string | null
state
​string | null
county
​string | null
country_id
​integer | null

The ID of a delivery country, see List countries. Sets country_name and country_code too. null removes the country.

Example: 72
phone_number
​string | null
company
​string | null
vat_number
​string | null
public_language
​string | null

One of the shop's languages, a two-letter code such as FI. Other values return 400.

Example: FI
gender
​string | null · enum

m, f, x (prefers not to say), or an empty string or null for unknown.

Enum values:
m
f
x
Example: f
birthdate
​string | null · date

An ISO 8601 date. A date-time is accepted too; only the date is stored.

Example: 1988-05-21
email_promotion_allowed
​boolean

Can't be null.

Example: true
mail_promotion_allowed
​boolean

Can't be null.

Example: false
sms_promotion_allowed
​boolean

Can't be null.

Example: false
pays_vat
​string | null · enum

default follows the shop's VAT setting, yes and no override it. An empty string or null means default.

Enum values:
default
yes
no
Example: default
reference
​string | null
credits
​number

Sets the account's credit balance to this amount (it does not add to it). Can't be null.

Example: 25.5
extra_data_1
​string | null
extra_data_2
​string | null
extra_data_3
​string | null

Account

id
​integer · int64
name
​string
customer_number
​string
email
​string
role_id
​integer

The ID of the account's customer role.

Example: 3
street
​string
street2
​string
postal_code
​string
city
​string
state
​string
county
​string
country_name
​string

The country's name, set from country_id when the account was created or country_id changed.

Example: Finland
country_id
​integer | null

The ID of the account's country, or null if none is set.

Example: 72
country_code
​string

The country's three-letter ISO 3166-1 alpha-3 code, or an empty string if no country is set.

Example: FIN
phone_number
​string
company
​string
vat_number
​string
created_at
​string · date-time
modified_at
​string · date-time
public_language
​string

The account's language in the shop, a two-letter code such as FI, or an empty string.

Example: FI
gender
​string · enum

m, f, x (prefers not to say), or an empty string if unknown.

Enum values:
m
f
x
Example: f
birthdate
​string | null · date
email_promotion_allowed
​boolean
mail_promotion_allowed
​boolean
sms_promotion_allowed
​boolean
pays_vat
​string · enum

Whether the account's prices include VAT: default follows the shop's setting, yes and no override it.

Enum values:
default
yes
no
Example: default
reference
​string
credits
​number

The account's credit balance. 0 if the account has no credits.

Example: 25.5
extra_data_1
​string
extra_data_2
​string
extra_data_3
​string

AccountItems

​object[]

One account.

CategoryLanguage

string

A two-letter language code in uppercase, one of the shop's languages.

Example: FI

CategoryNames

​object[]
language
​CategoryLanguage · required

A two-letter language code in uppercase, one of the shop's languages.

Example: FI
name
​string · required

CategorySummary

id
​integer · int64
code
​string
parent
​integer | null

The parent category's ID, or null for a top-level category.

Example: 12
level
​integer

The category's depth in the tree. A top-level category is at level 1.

Example: 2
​array | null

The category's names, or null if it has none.

created_at
​string · date-time
modified_at
​string · date-time
hidden
​boolean
erp_id
​string
href
​string

The URL of the full category.

Example: https://shop.example.com/api/v1/categories/41

CategorySummaryList

​object[]

CategoryImages

​object[]
language
​CategoryLanguage · required

A two-letter language code in uppercase, one of the shop's languages.

Example: FI
image
​string · required

The category image. The API stores the text as sent; it does not download anything.

Example: kahvipavut.jpg

CategoryTeaserImages

​object[]
language
​CategoryLanguage · required

A two-letter language code in uppercase, one of the shop's languages.

Example: FI
teaser_image
​string · required

The category's teaser image. The API stores the text as sent; it does not download anything.

Example: kahvipavut-teaser.jpg

CategoryShortDescriptions

​object[]
language
​CategoryLanguage · required

A two-letter language code in uppercase, one of the shop's languages.

Example: FI
short_description
​string · required

CategoryDescriptions

​object[]
language
​CategoryLanguage · required

A two-letter language code in uppercase, one of the shop's languages.

Example: FI
description
​string · required

CategorySeoNames

​object[]
language
​CategoryLanguage · required

A two-letter language code in uppercase, one of the shop's languages.

Example: FI
seo_name
​string · required

The category's part of its web address.

Example: kahvipavut
​object[]
language
​CategoryLanguage · required

A two-letter language code in uppercase, one of the shop's languages.

Example: FI
seo_link
​string · required

The category's path in the shop, built from the seo_names of the category and its parents.

Example: kahvit/kahvipavut/

CategoryInput

​object[]

The category's name per language. Every language you send in any localized field needs a non-empty name when the category gets that language for the first time.

code
​string | null

null stores an empty string.

Example: coffee-beans
erp_id
​string | null

null stores an empty string.

Example: ERP-CAT-0042
group_name
​string | null

null stores an empty string.

Example:
parent
​integer | null

The ID of an existing category to place this one under, or null for a top level category. A category can't be its own parent.

Example: 12
position
​integer

Orders the category among its siblings: lower comes first. On create, 0 or no value places it last. The shop then renumbers all positions.

Example: 10
secondary_position
​integer | null
hidden
​boolean

Can't be null.

Example: false
visible_in_menu
​boolean

Can't be null.

Example: true
​object[]
​object[]
​object[]
​object[]
​object[]

Used on update only. On create, the shop makes each seo_name from the name.

​object[]

Overwritten. The shop builds seo_links from the seo_names of the category and its parents.

CategoryInPost

​object[] · required

The category's name per language. Every language you send in any localized field needs a non-empty name when the category gets that language for the first time.

code
​string | null

null stores an empty string.

Example: coffee-beans
erp_id
​string | null

null stores an empty string.

Example: ERP-CAT-0042
group_name
​string | null

null stores an empty string.

Example:
parent
​integer | null

The ID of an existing category to place this one under, or null for a top level category. A category can't be its own parent.

Example: 12
position
​integer

Orders the category among its siblings: lower comes first. On create, 0 or no value places it last. The shop then renumbers all positions.

Example: 10
secondary_position
​integer | null
hidden
​boolean

Can't be null.

Example: false
visible_in_menu
​boolean

Can't be null.

Example: true
​object[]
​object[]
​object[]
​object[]
​object[]

Used on update only. On create, the shop makes each seo_name from the name.

​object[]

Overwritten. The shop builds seo_links from the seo_names of the category and its parents.

Category

id
​integer · int64
code
​string
parent
​integer | null

The parent category's ID, or null for a top-level category.

Example: 12
level
​integer

The category's depth in the tree. A top-level category is at level 1.

Example: 2
​array | null
created_at
​string · date-time
modified_at
​string · date-time
hidden
​boolean
​array | null
​array | null
​array | null
​array | null
​array | null
​array | null
position
​integer

The category's place in the whole category tree. The shop renumbers all categories after every change, so the value is not the one you sent.

Example: 18
secondary_position
​integer | null
visible_in_menu
​boolean
group_name
​string
erp_id
​string

CategoryItems

​object[]

One category.

CompanySummary

id
​integer · int64
name
​string
code
​string
href
​string

The URL of the full company.

Example: https://shop.example.com/api/v1/companies/27

CompanySummaryList

​object[]

CompanyInput

name
​string

Can't be null.

Example: Kahvila Aamukaste Oy
code
​string

Your code for the company. The shop doesn't check that it is unique. Can't be null.

Example: AAMUKASTE
vat_number
​string | null
street
​string | null
street_extra
​string | null
postal_code
​string | null
city
​string | null
county
​string | null
country
​string | null

The country as free text.

Example: Finland
phone_number
​string | null
email
​string | null

A valid email address, or an empty string.

Example: info@aamukaste.example.com
orders_email
​string | null

Where the shop sends order notifications when send_order_notify is true. The address is not validated.

Example: orders@aamukaste.example.com
send_order_notify
​boolean

Send order notifications to orders_email. Can't be null.

Example: true
extra1
​string | null
extra2
​string | null
extra3
​string | null
extra4
​string | null
extra5
​string | null

CompanyInPost

name
​string · required

Can't be null.

Example: Kahvila Aamukaste Oy
code
​string · required

Your code for the company. The shop doesn't check that it is unique. Can't be null.

Example: AAMUKASTE
vat_number
​string | null
street
​string | null
street_extra
​string | null
postal_code
​string | null
city
​string | null
county
​string | null
country
​string | null

The country as free text.

Example: Finland
phone_number
​string | null
email
​string | null

A valid email address, or an empty string.

Example: info@aamukaste.example.com
orders_email
​string | null

Where the shop sends order notifications when send_order_notify is true. The address is not validated.

Example: orders@aamukaste.example.com
send_order_notify
​boolean

Send order notifications to orders_email. Can't be null.

Example: true
extra1
​string | null
extra2
​string | null
extra3
​string | null
extra4
​string | null
extra5
​string | null

Company

id
​integer · int64
name
​string
code
​string
vat_number
​string
street
​string
street_extra
​string
postal_code
​string
city
​string
county
​string
country
​string

The country as free text, not a country ID or code.

Example: Finland
phone_number
​string
email
​string
orders_email
​string

Where order notifications go when send_order_notify is true.

Example: orders@aamukaste.example.com
send_order_notify
​boolean
extra1
​string
extra2
​string
extra3
​string
extra4
​string
extra5
​string
created_at
​string · date-time
modified_at
​string · date-time

CompanyItems

​object[]

One company.

CompanyPriceFields

fixed_price_no_vat
​number

The company's fixed price without VAT. 0 means no fixed price.

Example: 12.9
discount_percent
​number

The company's discount percentage. 0 means no discount.

Example: 0
discount_valid_from
​string | null · date-time

When the company price starts to apply, or null for no start date.

Example: 2026-12-01T00:00:00+02:00
discount_valid_to
​string | null · date-time

When the company price stops applying, or null for no end date.

Example: null
modified
​string · date-time

When the company price was last changed.

Example: 2026-11-22T07:35:27+02:00

CompanyPriceListItem

product
​integer · int64

The product's ID. For a variation price, the ID of the variation's product.

Example: 1203
variation
​integer | null · int64

The variation's ID, or null for a product price.

Example: null
fixed_price_no_vat
​number

The company's fixed price without VAT. 0 means no fixed price.

Example: 12.9
discount_percent
​number

The company's discount percentage. 0 means no discount.

Example: 0
discount_valid_from
​string | null · date-time

When the company price starts to apply, or null for no start date.

Example: 2026-12-01T00:00:00+02:00
discount_valid_to
​string | null · date-time

When the company price stops applying, or null for no end date.

Example: null
modified
​string · date-time

When the company price was last changed.

Example: 2026-11-22T07:35:27+02:00
href
​string

The URL of the product or variation (not of the company price).

Example: https://shop.example.com/api/v1/products/1203

CompanyPriceList

​object[]

CompanyPriceInput

fixed_price_no_vat
​number | null

The company's fixed price without VAT. 0 or null means no fixed price.

Example: 12.9
discount_percent
​number | null · min: 0 · max: 99.99

The company's discount percentage. Must be at least 0 and below 100 after rounding to two decimals, otherwise 400. 0 or null means no discount.

Example: 0
discount_valid_from
​string | null

When the company price starts to apply, as an ISO 8601 date or date-time, read as the shop's local time (an offset is ignored). null removes the start date.

Example: 2026-12-01T00:00:00
discount_valid_to
​string | null

When the company price stops applying, in the same format as discount_valid_from. null removes the end date.

Example: 2027-01-31T23:59:59

CompanyPriceBulkElement

Send exactly one of `product` and `variation`, and at least one of `fixed_price_no_vat` and `discount_percent`.
product
​integer · int64

The ID of the product whose company price you set.

Example: 1203
variation
​integer · int64

The ID of the variation whose company price you set.

Example: 5521
fixed_price_no_vat
​number | null

The company's fixed price without VAT. 0 or null means no fixed price.

Example: 12.9
discount_percent
​number | null · min: 0 · max: 99.99

The company's discount percentage. Must be at least 0 and below 100 after rounding to two decimals, otherwise 400. 0 or null means no discount.

Example: 0
discount_valid_from
​string | null

When the company price starts to apply, as an ISO 8601 date or date-time, read as the shop's local time (an offset is ignored). null removes the start date.

Example: 2026-12-01T00:00:00
discount_valid_to
​string | null

When the company price stops applying, in the same format as discount_valid_from. null removes the end date.

Example: 2027-01-31T23:59:59

CompanyPriceBulkInput

Send exactly one of `product` and `variation`, and at least one of `fixed_price_no_vat` and `discount_percent`.
product
​integer · int64

The ID of the product whose company price you set.

Example: 1203
variation
​integer · int64

The ID of the variation whose company price you set.

Example: 5521
fixed_price_no_vat
​number | null

The company's fixed price without VAT. 0 or null means no fixed price.

Example: 12.9
discount_percent
​number | null · min: 0 · max: 99.99

The company's discount percentage. Must be at least 0 and below 100 after rounding to two decimals, otherwise 400. 0 or null means no discount.

Example: 0
discount_valid_from
​string | null

When the company price starts to apply, as an ISO 8601 date or date-time, read as the shop's local time (an offset is ignored). null removes the start date.

Example: 2026-12-01T00:00:00
discount_valid_to
​string | null

When the company price stops applying, in the same format as discount_valid_from. null removes the end date.

Example: 2027-01-31T23:59:59

CompanyPriceNotFound

​object[]

The elements that matched no product or variation, by the identifier you sent. Only present when there are such elements.

CompanyPriceBulkItem

company
​integer · int64
product
​integer · int64

The product's ID. For a variation price, the ID of the variation's product.

Example: 1203
variation
​integer | null · int64

The variation's ID, or null for a product price.

Example: null
fixed_price_no_vat
​number

The company's fixed price without VAT. 0 means no fixed price.

Example: 12.9
discount_percent
​number

The company's discount percentage. 0 means no discount.

Example: 0
discount_valid_from
​string | null · date-time

When the company price starts to apply, or null for no start date.

Example: 2026-12-01T00:00:00+02:00
discount_valid_to
​string | null · date-time

When the company price stops applying, or null for no end date.

Example: null
modified
​string · date-time

When the company price was last changed.

Example: 2026-11-22T07:35:27+02:00
href
​string

The URL of the product or variation (not of the company price).

Example: https://shop.example.com/api/v1/products/1203

CompanyPriceBulkItems

​object[]

CompanyProductPrice

company
​integer · int64
product
​integer · int64
fixed_price_no_vat
​number

The company's fixed price without VAT. 0 means no fixed price.

Example: 12.9
discount_percent
​number

The company's discount percentage. 0 means no discount.

Example: 0
discount_valid_from
​string | null · date-time

When the company price starts to apply, or null for no start date.

Example: 2026-12-01T00:00:00+02:00
discount_valid_to
​string | null · date-time

When the company price stops applying, or null for no end date.

Example: null
modified
​string · date-time

When the company price was last changed.

Example: 2026-11-22T07:35:27+02:00

CompanyProductPriceItems

​object[]

The company price. A GET returns no items if the company has no price for the product.

CompanyVariationPrice

company
​integer · int64
variation
​integer · int64
fixed_price_no_vat
​number

The company's fixed price without VAT. 0 means no fixed price.

Example: 12.9
discount_percent
​number

The company's discount percentage. 0 means no discount.

Example: 0
discount_valid_from
​string | null · date-time

When the company price starts to apply, or null for no start date.

Example: 2026-12-01T00:00:00+02:00
discount_valid_to
​string | null · date-time

When the company price stops applying, or null for no end date.

Example: null
modified
​string · date-time

When the company price was last changed.

Example: 2026-11-22T07:35:27+02:00

CompanyVariationPriceItems

​object[]

The company price. A GET returns no items if the company has no price for the variation.

CountryNames

​array | null

The country's name per language, or null if it has no names.

language
​string

A two-letter language code in uppercase.

Example: FI
name
​string

CountrySummary

id
​integer · int64
​CountryNames

The country's name per language, or null if it has no names.

code
​string

The country's three-letter ISO 3166-1 alpha-3 code.

Example: FIN
href
​string

The URL of the full country.

Example: https://shop.example.com/api/v1/countries/72

CountrySummaryList

​object[]

Country

id
​integer · int64
​CountryNames

The country's name per language, or null if it has no names.

code
​string

The country's three-letter ISO 3166-1 alpha-3 code.

Example: FIN
abbreviation
​string

The country's abbreviation in the shop, often an empty string.

Example:
position
​integer

The country's sort position in the shop's country lists.

Example: 0

CountryItems

​object[]

One country.

DiscountRoleIdsInput

​integer[] · minItems: 1

The IDs of the customer roles the discount is for. Each ID must exist, otherwise the request returns 400. The element sets one discount per role.

Example: [3,4]

DiscountPercentInput

number | null · min: 0 · max: 99.99

The discount percentage. Must be at least 0 and below 100 after rounding to two decimals, otherwise 400. null means 0.

Example: 15

DiscountStartsInput

string | null

When the discount starts, as an ISO 8601 date or date-time, read as the shop's local time (an offset is ignored). null removes the start date.

Example: 2026-12-01T00:00:00

DiscountEndsInput

string | null

When the discount ends, in the same format as starts. null removes the end date.

Example: 2026-12-31T23:59:59

CategoryDiscountInput

category_id
​integer · int64 · required

The ID of an existing, not deleted category.

Example: 41
role_ids
​integer[] · minItems: 1 · required

The IDs of the customer roles the discount is for. Each ID must exist, otherwise the request returns 400. The element sets one discount per role.

Example: [3,4]
discount_percent
​DiscountPercentInput · min: 0 · max: 99.99 · required

The discount percentage. Must be at least 0 and below 100 after rounding to two decimals, otherwise 400. null means 0.

Example: 15

When the discount starts, as an ISO 8601 date or date-time, read as the shop's local time (an offset is ignored). null removes the start date.

Example: 2026-12-01T00:00:00

When the discount ends, in the same format as starts. null removes the end date.

Example: 2026-12-31T23:59:59

DiscountRoleAndDates

role_ids
​integer

The ID of the role this discount is for. Despite the name, a single ID.

Example: 3
discount_percent
​number
starts
​string | null · date-time

When the discount starts, or null for no start date.

Example: 2026-12-01T00:00:00+02:00
ends
​string | null · date-time

When the discount ends, or null for no end date.

Example: 2026-12-31T23:59:59+02:00

CategoryDiscount

category_id
​integer · int64
role_ids
​integer

The ID of the role this discount is for. Despite the name, a single ID.

Example: 3
discount_percent
​number
starts
​string | null · date-time

When the discount starts, or null for no start date.

Example: 2026-12-01T00:00:00+02:00
ends
​string | null · date-time

When the discount ends, or null for no end date.

Example: 2026-12-31T23:59:59+02:00

CategoryDiscountItems

​object[]

One item per category and role, sorted by category ID and role ID, highest first.

RoleDiscountInput

role_ids
​integer[] · minItems: 1 · required

The IDs of the customer roles the discount is for. Each ID must exist, otherwise the request returns 400. The element sets one discount per role.

Example: [3,4]
discount_percent
​DiscountPercentInput · min: 0 · max: 99.99 · required

The discount percentage. Must be at least 0 and below 100 after rounding to two decimals, otherwise 400. null means 0.

Example: 15

When the discount starts, as an ISO 8601 date or date-time, read as the shop's local time (an offset is ignored). null removes the start date.

Example: 2026-12-01T00:00:00

When the discount ends, in the same format as starts. null removes the end date.

Example: 2026-12-31T23:59:59

RoleDiscountItems

​object[]

One item per role, sorted by role ID, highest first.

FixedPriceInput

number | null · min: 0

A fixed price for the role, entered like the shop's product prices (with or without VAT, depending on the shop's settings). 0 or null means no fixed price. A negative value returns 400.

Example: 19.9

ProductDiscountInput

Send at least one of `fixed_price` and `discount_percent`.
product_id
​integer · int64 · required

The ID of an existing, not deleted product.

Example: 1203
role_ids
​integer[] · minItems: 1 · required

The IDs of the customer roles the discount is for. Each ID must exist, otherwise the request returns 400. The element sets one discount per role.

Example: [3,4]
fixed_price
​FixedPriceInput · min: 0

A fixed price for the role, entered like the shop's product prices (with or without VAT, depending on the shop's settings). 0 or null means no fixed price. A negative value returns 400.

Example: 19.9
discount_percent
​DiscountPercentInput · min: 0 · max: 99.99

The discount percentage. Must be at least 0 and below 100 after rounding to two decimals, otherwise 400. null means 0.

Example: 15

When the discount starts, as an ISO 8601 date or date-time, read as the shop's local time (an offset is ignored). null removes the start date.

Example: 2026-12-01T00:00:00

When the discount ends, in the same format as starts. null removes the end date.

Example: 2026-12-31T23:59:59

ProductDiscount

product_id
​integer · int64
fixed_price
​number

The role's fixed price, 0 for none.

Example: 19.9
role_ids
​integer

The ID of the role this discount is for. Despite the name, a single ID.

Example: 3
discount_percent
​number
starts
​string | null · date-time

When the discount starts, or null for no start date.

Example: 2026-12-01T00:00:00+02:00
ends
​string | null · date-time

When the discount ends, or null for no end date.

Example: 2026-12-31T23:59:59+02:00

ProductDiscountItems

​object[]

One item per product and role, sorted by product ID and role ID, highest first.

VariationDiscountInput

Send at least one of `fixed_price` and `discount_percent`.
variation_id
​integer · int64 · required

The ID of an existing, not deleted variation.

Example: 5521
role_ids
​integer[] · minItems: 1 · required

The IDs of the customer roles the discount is for. Each ID must exist, otherwise the request returns 400. The element sets one discount per role.

Example: [3,4]
fixed_price
​FixedPriceInput · min: 0

A fixed price for the role, entered like the shop's product prices (with or without VAT, depending on the shop's settings). 0 or null means no fixed price. A negative value returns 400.

Example: 19.9
discount_percent
​DiscountPercentInput · min: 0 · max: 99.99

The discount percentage. Must be at least 0 and below 100 after rounding to two decimals, otherwise 400. null means 0.

Example: 15

When the discount starts, as an ISO 8601 date or date-time, read as the shop's local time (an offset is ignored). null removes the start date.

Example: 2026-12-01T00:00:00

When the discount ends, in the same format as starts. null removes the end date.

Example: 2026-12-31T23:59:59

VariationDiscount

variation_id
​integer · int64
fixed_price
​number

The role's fixed price, 0 for none.

Example: 19.9
role_ids
​integer

The ID of the role this discount is for. Despite the name, a single ID.

Example: 3
discount_percent
​number
starts
​string | null · date-time

When the discount starts, or null for no start date.

Example: 2026-12-01T00:00:00+02:00
ends
​string | null · date-time

When the discount ends, or null for no end date.

Example: 2026-12-31T23:59:59+02:00

VariationDiscountItems

​object[]

One item per variation and role, sorted by variation ID and role ID, highest first.

ExtraInputType

string · enum
Enum values:
text
date
numeric
first_name
last_name
street
postal_code
city

The kind of value the input takes. Inputs of the "select, copy from payer" kind are reported as select.

Example: text

ExtraInput

id
​integer
​array | null

The input's label in each language that has a translation, sorted by language. null if the input has no translations.

​array | null

The input's help text in each language, sorted by language. An empty string if a language has no help text; null if the input has no translations.

​array | null

The input's placeholder text in each language, sorted by language. null if the input has no translations.

type
​ExtraInputType · enum

The kind of value the input takes. Inputs of the "select, copy from payer" kind are reported as select.

Enum values:
text
date
numeric
first_name
last_name
street
postal_code
city
Example: text
code
​string

The input's code. An empty string if it has none.

Example: ticket_name
public
​boolean

The input's Public setting in the shop's admin.

Example: true
group_code
​string

The input's group code. An empty string if it has none.

Example: event_tickets
visible_in_admin
​boolean

Whether the shop's admin shows the input.

Example: true
automatic
​boolean

The input's Automatic setting in the shop's admin.

Example: false
required
​boolean

Whether the customer must fill in the input.

Example: true

ExtraInputGroup

id
​integer · int64
name
​string
code
​string

ExtraInputGroupList

​object[]

ExtraInputGroupItems

​object[]

One extra input group.

ExtraInputGroupInput

name
​string

Can't be null.

Example: Engraving options
code
​string | null

null stores an empty string.

Example: ENGRAVING

OrderRowLocalizedName

language
​string

Language code in upper case.

Example: EN
name
​string

LocalizedNames

​array | null
language
​string

Language code in upper case.

Example: EN
name
​string

OrderDelivery

The delivery method.
id
​integer | null

The delivery method's id. null if the order has no delivery method.

Example: 6
​array | null

The delivery method's current name in each language. null if the method has no translations or no longer exists.

Example: [{"language":"EN","name":"Home delivery"}]
cost
​number

The delivery cost of the order.

Example: 5.9
code
​string | null

The delivery method's product code. null if the method no longer exists.

Example: HOME

OrderPayment

The payment method.
id
​integer | null

The payment method's id. null if the order has no payment method.

Example: 2
​array | null

The payment method's current name in each language. null if the method has no translations or no longer exists.

Example: [{"language":"EN","name":"Invoice"}]
cost
​number

The payment cost of the order.

Example: 0
code
​string | null

The payment method's product code. null if the method no longer exists.

Example: INVOICE

OrderPayer

The customer who placed the order. Text fields are empty strings, never `null`, when a value is missing.
href
​string | null

The URL of the customer's account. null if the order has no account.

Example: https://shop.example.com/api/v1/accounts/215
id
​integer | null

The id of the customer's account. null if the order has no account.

Example: 215
customer_number
​string
name
​string
email
​string
co
​string

The c/o line of the address.

Example:
street
​string
street2
​string
postal_code
​string
city
​string
state
​string
county
​string
country
​string

The country's name.

Example: Suomi
country_code
​string

The country code in ISO 3166-1 alpha-3.

Example: FIN
country_code_short
​string

The country code in ISO 3166-1 alpha-2.

Example: FI
phone_number
​string
vat_number
​string
birthdate
​string | null · date
company
​string

The company name.

Example:
extra1
​string
extra2
​string
extra3
​string

OrderRecipient

Where the order is delivered. If the order's recipient has no name or no street, the name, address and contact fields are the payer's. Those fields are empty strings, never `null`, when a value is missing.
name
​string
email
​string
street
​string
street2
​string
co
​string
postal_code
​string
city
​string
state
​string
country
​string
country_code
​string

The country code in ISO 3166-1 alpha-3.

Example: FIN
phone_number
​string
company
​string
vat_number
​string
extra1
​string
extra2
​string
extra3
​string
pick_up_point_code
​string | null

The pick-up point's id at the shipping company. The pick_up_point_* fields are null if the order has no delivery address, and empty strings if it has one without a pick-up point.

Example: 8012345
pick_up_point_name
​string | null
pick_up_point_name_extended
​string | null
pick_up_point_postal_code
​string | null
pick_up_point_street
​string | null
pick_up_point_city
​string | null
pick_up_point_country_code
​string | null

StatusComment

modified
​string · date-time

When the comment was saved.

Example: 2026-11-21T09:12:44+02:00
status_comment
​string

OrderRowCommon

type
​string · enum

product for a row with a product, campaign for any other row, such as a campaign discount.

Enum values:
product
campaign
Example: product
product_id
​integer | null

The product's id. null for a campaign row.

Example: 42
variation_ids
​integer[]

The ids of the row's variations. Empty if the row has none.

Example: [311]
variation_erp_ids
​string[]

The ERP ids of the row's variations, in the order of variation_ids.

Example: ["ERP-10042-D"]
variation_names
​string[]

The names of the row's variations as they were when the order was placed.

Example: ["Dark roast"]
​array | null

The product's current name in each language, from the product, not from the order. null if the row has no product.

base_price
​number

The unit price before discounts: the row's base price plus the base additional prices of its variations.

Example: 12.9
price
​number

The unit price after discounts, including the variations' prices.

Example: 11.61
amount
​integer

The ordered quantity.

Example: 2
total_price
​number

price times amount, rounded to 2 decimals.

Example: 23.22
code
​string

The product code when the order was placed.

Example: COFFEE-500
ean_code
​string
delivered_amount
​integer

How many units have been delivered.

Example: 0
bundle_main_product
​integer | null

For a row that is part of a product bundle, the id of the bundle's main order row. null otherwise.

Example: null
erp_id
​string

The product's ERP id when the order was placed.

Example: ERP-10042
vat
​number

The VAT amount of one unit, calculated from price.

Example: 1.42
vat_percent
​number

The VAT percentage.

Example: 14
category_id
​integer | null

The id of the category the product was ordered from. null if none is recorded.

Example: 8
​array | null

The category's name in each language. null if the row has no category.

Example: [{"language":"EN","name":"Coffee"}]
category_code
​string | null

The category's code. null if the row has no category.

Example: coffee
extra_inputs_href
​string

The URL of the row's extra inputs.

Example: https://shop.example.com/api/v1/orderrows/5532/extrainputs
product_event_bookings_href
​string

The URL of the row's event bookings.

Example: https://shop.example.com/api/v1/orderrows/5532/product_event_bookings

OrderRowSummary

row_id
​integer

The order row's id. Use it with Get an order row.

Example: 5532
type
​string · enum

product for a row with a product, campaign for any other row, such as a campaign discount.

Enum values:
product
campaign
Example: product
product_id
​integer | null

The product's id. null for a campaign row.

Example: 42
variation_ids
​integer[]

The ids of the row's variations. Empty if the row has none.

Example: [311]
variation_erp_ids
​string[]

The ERP ids of the row's variations, in the order of variation_ids.

Example: ["ERP-10042-D"]
variation_names
​string[]

The names of the row's variations as they were when the order was placed.

Example: ["Dark roast"]
​array | null

The product's current name in each language, from the product, not from the order. null if the row has no product.

base_price
​number

The unit price before discounts: the row's base price plus the base additional prices of its variations.

Example: 12.9
price
​number

The unit price after discounts, including the variations' prices.

Example: 11.61
amount
​integer

The ordered quantity.

Example: 2
total_price
​number

price times amount, rounded to 2 decimals.

Example: 23.22
code
​string

The product code when the order was placed.

Example: COFFEE-500
ean_code
​string
delivered_amount
​integer

How many units have been delivered.

Example: 0
bundle_main_product
​integer | null

For a row that is part of a product bundle, the id of the bundle's main order row. null otherwise.

Example: null
erp_id
​string

The product's ERP id when the order was placed.

Example: ERP-10042
vat
​number

The VAT amount of one unit, calculated from price.

Example: 1.42
vat_percent
​number

The VAT percentage.

Example: 14
category_id
​integer | null

The id of the category the product was ordered from. null if none is recorded.

Example: 8
​array | null

The category's name in each language. null if the row has no category.

Example: [{"language":"EN","name":"Coffee"}]
category_code
​string | null

The category's code. null if the row has no category.

Example: coffee
extra_inputs_href
​string

The URL of the row's extra inputs.

Example: https://shop.example.com/api/v1/orderrows/5532/extrainputs
product_event_bookings_href
​string

The URL of the row's event bookings.

Example: https://shop.example.com/api/v1/orderrows/5532/product_event_bookings
href
​string

The URL of the order row.

Example: https://shop.example.com/api/v1/orderrows/5532

OrderExtraInputGroup

The order-level extra inputs of one extra input group.
id
​integer | null

The extra input group's id. null for inputs without a group.

Example: 3
​object[]

Order

id
​integer
number
​integer

The order number shown to the customer.

Example: 100512
status
​integer

The id of the order's current status. See List the statuses of an order for the status names.

Example: 3
notes
​string

The customer's notes on the order.

Example:
reference_number
​string

The payment reference number.

Example: 1000512
tracking_code
​string

The delivery tracking code. An empty string if it has none.

Example: JJFI64123450001234567
created_at
​string · date-time
modified_at
​string · date-time
paid_at
​string | null · date-time

When the order was paid. null if it is not paid.

Example: 2026-11-20T14:07:30+02:00
company
​integer | null

The id of the company the order was placed for. null if none.

Example: null
currency
​string
price_incl_tax
​number

The order's total, VAT included.

Example: 29.12
price_excl_tax
​number

The order's total without VAT.

Example: 25.54
base_price
​number

The total of the order's products, campaign discounts included.

Example: 23.22
prices_use_vat
​integer | null

The shop's setting for whether product prices include VAT, 1 or 0.

Example: 1
wished_delivery_date
​string | null · date-time

The delivery date the customer asked for. null if none.

Example: null
​OrderDelivery

The delivery method.

​OrderPayment

The payment method.

​OrderPayer

The customer who placed the order. Text fields are empty strings, never null, when a value is missing.

​OrderRecipient

Where the order is delivered. If the order's recipient has no name or no street, the name, address and contact fields are the payer's. Those fields are empty strings, never null, when a value is missing.

​StatusComment[]

The status history entries that have a comment. Empty if none.

The order's rows, newest first.

​OrderExtraInputGroup[]

The order-level extra inputs, grouped by extra input group. Empty if none.

SummaryHref

href
​string

The URL of the full resource.

Example: https://shop.example.com/api/v1/products/5

OrderResponse

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]
​Meta

OrderIn

tracking_code
​string | null · required

The delivery tracking code. null or an empty string clears it.

Example: JJFI64123450001234567

OrderStatus

id
​integer

The status's id, the same as status.

Example: 3
status
​integer

The status's id.

Example: 3
parent
​integer | null

The id of the status's parent status. null if it has none.

Example: null
next_status
​integer | null

The id of the status that usually follows. null if none is set.

Example: 4
name
​string | null

The status's name in the shop's default language. null if it has no name in that language.

Example: Paid
comment
​string

The comment saved with the status change. An empty string if none.

Example:
changed_to_at
​string · date-time

When the order got this status.

Example: 2026-11-20T14:07:30+02:00

OrderStatusIn

status
​integer · required

The id of the new status. An unknown id returns 400. Find the ids in the status of existing orders or in the shop's admin.

Example: 5
comment
​string · required

A comment saved with the status change. Send an empty string for no comment; null returns 400.

Example: Shipped in two parcels.

OrderedProduct

product_id
​integer | null

The product's id. null for a row that is not a product, such as a campaign row.

Example: 42
product_name
​string

The row's name as it was when the order was placed.

Example: Dark roast coffee 500 g
product_description
​string

The row's description. An empty string if it has none.

Example:
order_id
​integer
account_id
​integer

The id of the customer account that placed the order.

Example: 215
time
​string · date-time

When the order was placed.

Example: 2026-11-20T14:05:12+02:00

OrderRow

id
​integer
order_id
​integer
description
​string

The row's description. An empty string if it has none.

Example:
inventory_price
​number

The product's inventory price when the order was placed.

Example: 6.5
​object[]

The row's unit. Empty if the row has no unit.

​object[]

The product's current tags. Empty if the product has none or the row has no product.

order_href
​string

The URL of the order.

Example: https://shop.example.com/api/v1/orders/1078
type
​string · enum

product for a row with a product, campaign for any other row, such as a campaign discount.

Enum values:
product
campaign
Example: product
product_id
​integer | null

The product's id. null for a campaign row.

Example: 42
variation_ids
​integer[]

The ids of the row's variations. Empty if the row has none.

Example: [311]
variation_erp_ids
​string[]

The ERP ids of the row's variations, in the order of variation_ids.

Example: ["ERP-10042-D"]
variation_names
​string[]

The names of the row's variations as they were when the order was placed.

Example: ["Dark roast"]
​array | null

The product's current name in each language, from the product, not from the order. null if the row has no product.

base_price
​number

The unit price before discounts: the row's base price plus the base additional prices of its variations.

Example: 12.9
price
​number

The unit price after discounts, including the variations' prices.

Example: 11.61
amount
​integer

The ordered quantity.

Example: 2
total_price
​number

price times amount, rounded to 2 decimals.

Example: 23.22
code
​string

The product code when the order was placed.

Example: COFFEE-500
ean_code
​string
delivered_amount
​integer

How many units have been delivered.

Example: 0
bundle_main_product
​integer | null

For a row that is part of a product bundle, the id of the bundle's main order row. null otherwise.

Example: null
erp_id
​string

The product's ERP id when the order was placed.

Example: ERP-10042
vat
​number

The VAT amount of one unit, calculated from price.

Example: 1.42
vat_percent
​number

The VAT percentage.

Example: 14
category_id
​integer | null

The id of the category the product was ordered from. null if none is recorded.

Example: 8
​array | null

The category's name in each language. null if the row has no category.

Example: [{"language":"EN","name":"Coffee"}]
category_code
​string | null

The category's code. null if the row has no category.

Example: coffee
extra_inputs_href
​string

The URL of the row's extra inputs.

Example: https://shop.example.com/api/v1/orderrows/5532/extrainputs
product_event_bookings_href
​string

The URL of the row's event bookings.

Example: https://shop.example.com/api/v1/orderrows/5532/product_event_bookings

OrderRowResponse

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]
​Meta

OrderRowIn

Send at least one field. A field you leave out keeps its value.
description
​string | null

The row's description. null sets an empty string.

Example: Gift wrapped
delivered_amount
​integer | null

How many units have been delivered. null sets 0.

Example: 2

OrderRowExtraInputBase

id
​integer | null

The id of the value row. Use it in Get an extra input of an order row. null for a child input inside a json input's values.

Example: 904
extra_input_id
​integer

The extra input's id, see Get an extra input.

Example: 7
row_number
​integer | null

For an input that is asked once per ordered unit, which unit the value belongs to, starting from 1. null for an input that is asked once per row.

Example: 1

The input's label in each language. If the input has no translations, the label saved with the order, in the shop's language.

Example: [{"language":"EN","name":"Name on the ticket"}]
group_name
​string | null

The name of the input's extra input group. null if it has none.

Example: Ticket details
group_id
​integer | null

The id of the input's extra input group. null if it has none.

Example: 3
basic_values_only
​boolean

false for choice, select, cities, attachment and json inputs, whose value is a list; true for the others. A select input that copies its value from the payer reports true.

Example: true
type
​ExtraInputType · enum

The kind of value the input takes. Inputs of the "select, copy from payer" kind are reported as select.

Enum values:
text
date
numeric
first_name
last_name
street
postal_code
city
Example: text

OrderRowExtraInputSummary

id
​integer | null

The id of the value row. Use it in Get an extra input of an order row. null for a child input inside a json input's values.

Example: 904
extra_input_id
​integer

The extra input's id, see Get an extra input.

Example: 7
row_number
​integer | null

For an input that is asked once per ordered unit, which unit the value belongs to, starting from 1. null for an input that is asked once per row.

Example: 1

The input's label in each language. If the input has no translations, the label saved with the order, in the shop's language.

Example: [{"language":"EN","name":"Name on the ticket"}]
group_name
​string | null

The name of the input's extra input group. null if it has none.

Example: Ticket details
group_id
​integer | null

The id of the input's extra input group. null if it has none.

Example: 3
basic_values_only
​boolean

false for choice, select, cities, attachment and json inputs, whose value is a list; true for the others. A select input that copies its value from the payer reports true.

Example: true
type
​ExtraInputType · enum

The kind of value the input takes. Inputs of the "select, copy from payer" kind are reported as select.

Enum values:
text
date
numeric
first_name
last_name
street
postal_code
city
Example: text
order_href
​string

The URL of the order.

Example: https://shop.example.com/api/v1/orders/1078
href
​string

The URL of the value row.

Example: https://shop.example.com/api/v1/orderrows/5532/extrainputs/904

OrderRowExtraInputValues

The value. Its shape depends on type:

  • text, date, numeric, first_name, last_name, street, postal_code, city, phone_number, country, number_with_finnish_check_digit, textarea, code_generator, order_number: a string, as stored. A date is YYYY-MM-DD.
  • boolean: true or false.
  • choice, select: an array of the chosen option ids.
  • cities, attachment: an array of ids.
  • json: an array with one array per entered row; each inner array lists the row's child inputs, each with its own values. A json input with no child inputs has null.
  • country_select, view_only: null.

In a PUT response, values is the value you sent, normalized: a date as YYYY-MM-DD, a boolean as true or false, options as an array of integer ids.

OrderRowExtraInput

id
​integer | null

The id of the value row. Use it in Get an extra input of an order row. null for a child input inside a json input's values.

Example: 904
extra_input_id
​integer

The extra input's id, see Get an extra input.

Example: 7
row_number
​integer | null

For an input that is asked once per ordered unit, which unit the value belongs to, starting from 1. null for an input that is asked once per row.

Example: 1

The input's label in each language. If the input has no translations, the label saved with the order, in the shop's language.

Example: [{"language":"EN","name":"Name on the ticket"}]
group_name
​string | null

The name of the input's extra input group. null if it has none.

Example: Ticket details
group_id
​integer | null

The id of the input's extra input group. null if it has none.

Example: 3
basic_values_only
​boolean

false for choice, select, cities, attachment and json inputs, whose value is a list; true for the others. A select input that copies its value from the payer reports true.

Example: true
type
​ExtraInputType · enum

The kind of value the input takes. Inputs of the "select, copy from payer" kind are reported as select.

Enum values:
text
date
numeric
first_name
last_name
street
postal_code
city
Example: text
order_href
​string

The URL of the order.

Example: https://shop.example.com/api/v1/orders/1078

The value. Its shape depends on type:

  • text, date, numeric, first_name, last_name, street, postal_code, city, phone_number, country, number_with_finnish_check_digit, textarea, code_generator, order_number: a string, as stored. A date is YYYY-MM-DD.
  • boolean: true or false.
  • choice, select: an array of the chosen option ids.
  • cities, attachment: an array of ids.
  • json: an array with one array per entered row; each inner array lists the row's child inputs, each with its own values. A json input with no child inputs has null.
  • country_select, view_only: null.

In a PUT response, values is the value you sent, normalized: a date as YYYY-MM-DD, a boolean as true or false, options as an array of integer ids.

OrderRowExtraInputResponse

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]
​Meta

OrderRowExtraInputIn

values
​required

The new value. What is accepted depends on the input's type:

  • text, first_name, last_name, street, postal_code, city, phone_number, country, number_with_finnish_check_digit, textarea, code_generator, order_number: a string.
  • numeric: a number or a numeric string.
  • date: a date string in a common format, such as 2026-12-24; it is saved as YYYY-MM-DD. An empty string clears the date.
  • boolean: true, false, or one of the strings "1", "0", "yes", "no", "on", "off", "true", "false".
  • choice, select: an array of option ids of the input (integers or integer strings), at most as many as the input allows.

json, attachment, cities, country_select and view_only inputs can't be changed: a PUT returns 400 and keeps the stored value.

Example: Maija Meikäläinen

ProductEventBooking

id
​integer
booking_valid_from
​string · date-time

When the booked time starts.

Example: 2026-12-05T10:00:00+02:00
booking_valid_to
​string · date-time

When the booked time ends.

Example: 2026-12-05T12:00:00+02:00
capacity_used
​integer

How many places the booking takes.

Example: 2
href
​string

The URL of the booking.

Example: https://shop.example.com/api/v1/orderrows/5532/product_event_bookings/77

PriceIn

One price update: exactly one identifier (`product_id`, `variation_id`, `code`, `ean_code` or `erp_id`) and at least one price field. Numbers must be JSON numbers, not strings; `null` is not accepted for a price field, `code`, `ean_code` or `erp_id`.
product_id
​integer

Updates the product with this id.

Example: 42
variation_id
​integer

Updates the variation with this id.

Example: 311
code
​string

Updates every product whose product code is this value and every variation whose code is this value.

Example: COFFEE-500
ean_code
​string

Updates every product and variation with this EAN code.

Example: 6412345678903
erp_id
​string

Updates every product and variation with this ERP id.

Example: ERP-10042
price
​number

The product's base price, stored with 5 decimals. Products only.

Example: 12.9
suggested_retail_price
​number

The product's suggested retail price, stored with 5 decimals. Products only.

Example: 14.9
vat
​number · min: 0 · max: 100

The product's VAT percentage, stored with 2 decimals. Products only.

Example: 14
inventory_price
​number

The inventory price, stored with 2 decimals. Products and variations.

Example: 6.5
additional_price
​number

The variation's additional price on top of the product's price, stored with 2 decimals. Variations only.

Example: 2

PriceNotFound

An element that updated nothing, as `{"<identifier field>": <value as sent>}`.

PriceOut

id
​integer

The product's or the variation's id. Tell them apart by href.

Example: 42
code
​string

The product code or the variation code.

Example: COFFEE-500
ean_code
​string
erp_id
​string
price
​number | null

The product's base price. null for a variation.

Example: 12.9
suggested_retail_price
​number | null

The product's suggested retail price. null for a variation.

Example: 14.9
inventory_price
​number
vat
​number | null

The product's VAT percentage. -1 means the product has no VAT of its own and uses its category's VAT. null for a variation.

Example: 14
additional_price
​number | null

The variation's additional price. null for a product.

Example: null
href
​string

The URL of the updated product or variation.

Example: https://shop.example.com/api/v1/products/42

Language

string

A language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.

Example: EN

LocalizedName

language
​Language · required

A language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.

Example: EN
name
​string · required

LocalizedUrl

language
​Language

A language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.

Example: EN
url
​string

ProductTag

​array | null

The tag's names, or null if it has none.

id
​integer
code
​string
hidden
​boolean
brand
​boolean

Whether the tag is a brand.

Example: false
href
​string
additional_price
​number
stock
​integer
erp_id
​string
href
​string

ProductBase

Fields that both the product list and a single product have.
id
​integer
product_code
​string
ean_code
​string
category
​integer

The id of the product's primary category.

Example: 4

The product's address in the store, per language.

image
​string

The URL of the product's default image, or an empty string if it has none.

Example: https://shop.example.com/static/media/images/3f/original/3f2a9c1e5b7d4a6f8e0c2b1a9d8e7f6a.jpg
teaser_image
​string

The URL of the product's teaser image, or an empty string if it has none.

Example:
base_price
​number

The product's base price.

Example: 12.9
base_price_with_vat
​number | null

The base price with VAT for role 1, as the shop has computed it. null if not computed.

Example: 12.9
base_price_no_vat
​number | null

The base price without VAT for role 1, as the shop has computed it. null if not computed.

Example: 10.40323
discount_price
​number | null

The lowest price of the discounts active now for role 1, or null if no discount is active.

Example: 10.9
msrp
​number

The suggested retail price. Same value as suggested_retail_price in a single product.

Example: 14.9
inventory_price
​number
currency
​string

The shop's currency.

Example: EUR
stock
​integer
stock_alert
​integer | null

The stock level at which the shop alerts about low stock. null means the alert is turned off.

Example: 10
hidden
​boolean

Whether the product is hidden from the store.

Example: false
created_at
​string · date-time
modified_at
​string · date-time
erp_id
​string

The product's variations, in their display order. Deleted variations are left out.

ProductSummary

A product in the product list.
id
​integer
product_code
​string
ean_code
​string
category
​integer

The id of the product's primary category.

Example: 4

The product's address in the store, per language.

image
​string

The URL of the product's default image, or an empty string if it has none.

Example: https://shop.example.com/static/media/images/3f/original/3f2a9c1e5b7d4a6f8e0c2b1a9d8e7f6a.jpg
teaser_image
​string

The URL of the product's teaser image, or an empty string if it has none.

Example:
base_price
​number

The product's base price.

Example: 12.9
base_price_with_vat
​number | null

The base price with VAT for role 1, as the shop has computed it. null if not computed.

Example: 12.9
base_price_no_vat
​number | null

The base price without VAT for role 1, as the shop has computed it. null if not computed.

Example: 10.40323
discount_price
​number | null

The lowest price of the discounts active now for role 1, or null if no discount is active.

Example: 10.9
msrp
​number

The suggested retail price. Same value as suggested_retail_price in a single product.

Example: 14.9
inventory_price
​number
currency
​string

The shop's currency.

Example: EUR
stock
​integer
stock_alert
​integer | null

The stock level at which the shop alerts about low stock. null means the alert is turned off.

Example: 10
hidden
​boolean

Whether the product is hidden from the store.

Example: false
created_at
​string · date-time
modified_at
​string · date-time
erp_id
​string

The product's variations, in their display order. Deleted variations are left out.

href
​string

The URL of the full resource.

Example: https://shop.example.com/api/v1/products/5

ProductList

Links to the first, previous and next page. Each link carries the request's `limit`, `offset` and filters. At either end of the list the object is still there, with `href` set to `null`.
href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​PageLink
​PageLink
​PageLink
​object[]
​Meta

SecondaryCategoryInput

id
​integer · required

The category's id.

Example: 9
position
​integer · required

The category's position among the product's secondary categories. Must not be 0.

Example: 1

LocalizedDescription

language
​Language · required

A language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.

Example: EN
description
​string · required

LocalizedTeaser

language
​Language · required

A language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.

Example: EN
teaser
​string · required

LocalizedAbbreviation

language
​Language · required

A language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.

Example: EN
abbreviation
​string · required

LocalizedHtmlContent

language
​Language · required

A language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.

Example: EN
html_content
​string · required

ProductInputFields

Fields that POST and PUT `/products` take, besides `category` and `names`.
product_code
​string
ean_code
​string
erp_id
​string
supplier_code
​string
manufacturer_name
​string
manufacturer_id
​string

The manufacturer's code for the product.

Example: KR-500-DARK
base_price
​number
inventory_price
​number
msrp
​number

The suggested retail price. Same as suggested_retail_price; send only one of them.

Example: 14.9
suggested_retail_price
​number

The suggested retail price. Same as msrp.

Example: 14.9
vat_percent
​number

A product-specific VAT percent. A negative value means the shop's default VAT. If you send both vat_percent and use_default_vat_percent, vat_percent decides.

Example: 14
use_default_vat_percent
​boolean

true uses the shop's default VAT percent. false without vat_percent returns 400 when you create a product; when you update one, it keeps the product's own VAT percent, or returns 400 if the product uses the default VAT.

Example: true
stock
​integer
stock_alert
​integer | null

The stock level at which the shop alerts about low stock. null turns the alert off.

Example: 10
hidden
​boolean
visible_out_of_stock
​boolean
buyable_out_of_stock
​boolean
is_new
​boolean
is_popular
​boolean
is_best_offer
​boolean
is_pre_sale
​boolean

Whether the product is shown, for pre-sale, before availability_begins.

Example: false
is_promotion_allowed
​boolean
is_product_of_week
​boolean
store_only
​boolean

Whether the product is only displayed and can't be bought.

Example: false
price_hidden
​boolean
delivery_cost_unit
​number
delivery_time_in_days
​integer
min_order_qty
​integer
max_order_qty
​integer
availability_begins
​string | null

An ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no start.

Example: 2026-12-01T00:00:00
availability_ends
​string | null

An ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no end.

Example: null
extra_input_group
​integer | null

The id of an existing extra input group, or null for none. An unknown id returns 400.

Example: null
​SecondaryCategoryInput[]

The product's secondary categories. Every id must be an existing category other than the primary category, otherwise the request returns 400. In PUT, a non-empty array replaces all secondary categories.

​LocalizedDescription[]
​LocalizedAbbreviation[]
​LocalizedHtmlContent[]

ProductCreate

Fields that POST and PUT `/products` take, besides `category` and `names`.
category
​integer · required

The id of the primary category. An unknown category returns 400.

Example: 4
​LocalizedName[] · minItems: 1 · required

The product's names. Each entry needs a non-empty name.

tags
​integer[]

Ids of existing tags to add to the product. An unknown id returns 400.

Example: [12]
product_code
​string
ean_code
​string
erp_id
​string
supplier_code
​string
manufacturer_name
​string
manufacturer_id
​string

The manufacturer's code for the product.

Example: KR-500-DARK
base_price
​number
inventory_price
​number
msrp
​number

The suggested retail price. Same as suggested_retail_price; send only one of them.

Example: 14.9
suggested_retail_price
​number

The suggested retail price. Same as msrp.

Example: 14.9
vat_percent
​number

A product-specific VAT percent. A negative value means the shop's default VAT. If you send both vat_percent and use_default_vat_percent, vat_percent decides.

Example: 14
use_default_vat_percent
​boolean

true uses the shop's default VAT percent. false without vat_percent returns 400 when you create a product; when you update one, it keeps the product's own VAT percent, or returns 400 if the product uses the default VAT.

Example: true
stock
​integer
stock_alert
​integer | null

The stock level at which the shop alerts about low stock. null turns the alert off.

Example: 10
hidden
​boolean
visible_out_of_stock
​boolean
buyable_out_of_stock
​boolean
is_new
​boolean
is_popular
​boolean
is_best_offer
​boolean
is_pre_sale
​boolean

Whether the product is shown, for pre-sale, before availability_begins.

Example: false
is_promotion_allowed
​boolean
is_product_of_week
​boolean
store_only
​boolean

Whether the product is only displayed and can't be bought.

Example: false
price_hidden
​boolean
delivery_cost_unit
​number
delivery_time_in_days
​integer
min_order_qty
​integer
max_order_qty
​integer
availability_begins
​string | null

An ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no start.

Example: 2026-12-01T00:00:00
availability_ends
​string | null

An ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no end.

Example: null
extra_input_group
​integer | null

The id of an existing extra input group, or null for none. An unknown id returns 400.

Example: null
​SecondaryCategoryInput[]

The product's secondary categories. Every id must be an existing category other than the primary category, otherwise the request returns 400. In PUT, a non-empty array replaces all secondary categories.

​LocalizedDescription[]
​LocalizedAbbreviation[]
​LocalizedHtmlContent[]

LocalizedSpecification

language
​Language

A language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.

Example: EN
specification
​string

SecondaryCategory

id
​integer

The category's id.

Example: 9
position
​integer

The category's position among the product's secondary categories.

Example: 1
href
​string

CompatibleProductSummary

product_code
​string
ean_code
​string
position
​integer
href
​string

ProductDescriptionEmbedded

An extra description inside a product. It has no `id`; the `href` ends with it.
name
​string
language
​Language

A language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.

Example: EN
label
​string
description
​string
visible_in_list
​boolean
visible_in_product
​boolean
visible_in_email
​boolean
href
​string

ProductPropertyType

string · enum
Enum values:
boolean
choice
option_group
date
datetime
wysiwyg
link
numeric
Example: choice

PropertyOptionValue

id
​integer

The option's id.

Example: 41

ItemProperty

A property set on a product or variation, with its selected options.
id
​integer

The id of the property on this product or variation.

Example: 3
property_id
​integer

The id of the property.

Example: 15

The property's names.

type
​ProductPropertyType · enum
Enum values:
boolean
choice
option_group
date
datetime
wysiwyg
link
numeric
Example: choice

The selected options, highest id first.

BundleProduct

id
​integer

The bundled product's id.

Example: 8
product_code
​string
amount
​integer
variation
​integer | null

The id of the bundled variation, or null.

Example: null
coupled
​boolean
coupled_product_is_free
​boolean
use_bundle_price
​boolean

ProductDetails

Fields that only a single product has.
vat_percent
​number

The product's VAT percent. If use_default_vat_percent is true, the shop's default VAT (the first VAT percent in the shop's settings).

Example: 14
use_default_vat_percent
​boolean

Whether the product uses the shop's default VAT percent.

Example: false
supplier_code
​string
​LocalizedDescription[]
​LocalizedSpecification[]

The product's specifications. Read-only in this API.

​LocalizedAbbreviation[]
​LocalizedHtmlContent[]
visible_out_of_stock
​boolean

Whether the product is shown in the store when it's out of stock.

Example: true
buyable_out_of_stock
​boolean

Whether customers can buy the product when it's out of stock.

Example: false
is_new
​boolean
is_popular
​boolean
is_best_offer
​boolean
is_pre_sale
​boolean

Whether the product is shown, for pre-sale, before availability_begins.

Example: false
is_promotion_allowed
​boolean

Whether the product may be promoted.

Example: true
is_product_of_week
​boolean
store_only
​boolean

Whether the product is only displayed and can't be bought.

Example: false
delivery_cost_unit
​number

The product's delivery cost unit (DCU).

Example: 1
availability_begins
​string | null · date-time

When the product becomes available, or null if there is no start.

Example: 2026-12-01T00:00:00+02:00
availability_ends
​string | null · date-time

When the product stops being available, or null if there is no end.

Example: null
suggested_retail_price
​number

The suggested retail price. Same value as msrp.

Example: 14.9
min_order_qty
​integer
max_order_qty
​integer
extra_input_group
​integer | null

The id of the product's extra input group, or null.

Example: null
manufacturer_name
​string
manufacturer_id
​string

The manufacturer's code for the product.

Example: KR-500-DARK
delivery_time_in_days
​integer
price_hidden
​boolean

Whether the price is hidden in the store.

Example: false
​SecondaryCategory[]

The product's secondary categories, ordered by position.

​CompatibleProductSummary[]

The product's compatible products. Deleted products are left out.

​ProductDescriptionEmbedded[]

The product's extra descriptions, newest first. Manage them with List product descriptions and related endpoints.

​ItemProperty[]
​BundleProduct[]

The products sold in a bundle with this product.

Product

A single product. It has no `href`.
id
​integer
product_code
​string
ean_code
​string
category
​integer

The id of the product's primary category.

Example: 4

The product's address in the store, per language.

image
​string

The URL of the product's default image, or an empty string if it has none.

Example: https://shop.example.com/static/media/images/3f/original/3f2a9c1e5b7d4a6f8e0c2b1a9d8e7f6a.jpg
teaser_image
​string

The URL of the product's teaser image, or an empty string if it has none.

Example:
base_price
​number

The product's base price.

Example: 12.9
base_price_with_vat
​number | null

The base price with VAT for role 1, as the shop has computed it. null if not computed.

Example: 12.9
base_price_no_vat
​number | null

The base price without VAT for role 1, as the shop has computed it. null if not computed.

Example: 10.40323
discount_price
​number | null

The lowest price of the discounts active now for role 1, or null if no discount is active.

Example: 10.9
msrp
​number

The suggested retail price. Same value as suggested_retail_price in a single product.

Example: 14.9
inventory_price
​number
currency
​string

The shop's currency.

Example: EUR
stock
​integer
stock_alert
​integer | null

The stock level at which the shop alerts about low stock. null means the alert is turned off.

Example: 10
hidden
​boolean

Whether the product is hidden from the store.

Example: false
created_at
​string · date-time
modified_at
​string · date-time
erp_id
​string

The product's variations, in their display order. Deleted variations are left out.

vat_percent
​number

The product's VAT percent. If use_default_vat_percent is true, the shop's default VAT (the first VAT percent in the shop's settings).

Example: 14
use_default_vat_percent
​boolean

Whether the product uses the shop's default VAT percent.

Example: false
supplier_code
​string
​LocalizedDescription[]
​LocalizedSpecification[]

The product's specifications. Read-only in this API.

​LocalizedAbbreviation[]
​LocalizedHtmlContent[]
visible_out_of_stock
​boolean

Whether the product is shown in the store when it's out of stock.

Example: true
buyable_out_of_stock
​boolean

Whether customers can buy the product when it's out of stock.

Example: false
is_new
​boolean
is_popular
​boolean
is_best_offer
​boolean
is_pre_sale
​boolean

Whether the product is shown, for pre-sale, before availability_begins.

Example: false
is_promotion_allowed
​boolean

Whether the product may be promoted.

Example: true
is_product_of_week
​boolean
store_only
​boolean

Whether the product is only displayed and can't be bought.

Example: false
delivery_cost_unit
​number

The product's delivery cost unit (DCU).

Example: 1
availability_begins
​string | null · date-time

When the product becomes available, or null if there is no start.

Example: 2026-12-01T00:00:00+02:00
availability_ends
​string | null · date-time

When the product stops being available, or null if there is no end.

Example: null
suggested_retail_price
​number

The suggested retail price. Same value as msrp.

Example: 14.9
min_order_qty
​integer
max_order_qty
​integer
extra_input_group
​integer | null

The id of the product's extra input group, or null.

Example: null
manufacturer_name
​string
manufacturer_id
​string

The manufacturer's code for the product.

Example: KR-500-DARK
delivery_time_in_days
​integer
price_hidden
​boolean

Whether the price is hidden in the store.

Example: false
​SecondaryCategory[]

The product's secondary categories, ordered by position.

​CompatibleProductSummary[]

The product's compatible products. Deleted products are left out.

​ProductDescriptionEmbedded[]

The product's extra descriptions, newest first. Manage them with List product descriptions and related endpoints.

​ItemProperty[]
​BundleProduct[]

The products sold in a bundle with this product.

ProductItem

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]
​Meta

ProductUpdate

Fields that POST and PUT `/products` take, besides `category` and `names`.
category
​integer

The id of a new primary category. An unknown category returns 400; 0 is ignored. If the category is one of the product's secondary categories, it's removed from them.

Example: 4

Names to add or change, per language. A language the product has no name for yet needs a non-empty name.

product_code
​string
ean_code
​string
erp_id
​string
supplier_code
​string
manufacturer_name
​string
manufacturer_id
​string

The manufacturer's code for the product.

Example: KR-500-DARK
base_price
​number
inventory_price
​number
msrp
​number

The suggested retail price. Same as suggested_retail_price; send only one of them.

Example: 14.9
suggested_retail_price
​number

The suggested retail price. Same as msrp.

Example: 14.9
vat_percent
​number

A product-specific VAT percent. A negative value means the shop's default VAT. If you send both vat_percent and use_default_vat_percent, vat_percent decides.

Example: 14
use_default_vat_percent
​boolean

true uses the shop's default VAT percent. false without vat_percent returns 400 when you create a product; when you update one, it keeps the product's own VAT percent, or returns 400 if the product uses the default VAT.

Example: true
stock
​integer
stock_alert
​integer | null

The stock level at which the shop alerts about low stock. null turns the alert off.

Example: 10
hidden
​boolean
visible_out_of_stock
​boolean
buyable_out_of_stock
​boolean
is_new
​boolean
is_popular
​boolean
is_best_offer
​boolean
is_pre_sale
​boolean

Whether the product is shown, for pre-sale, before availability_begins.

Example: false
is_promotion_allowed
​boolean
is_product_of_week
​boolean
store_only
​boolean

Whether the product is only displayed and can't be bought.

Example: false
price_hidden
​boolean
delivery_cost_unit
​number
delivery_time_in_days
​integer
min_order_qty
​integer
max_order_qty
​integer
availability_begins
​string | null

An ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no start.

Example: 2026-12-01T00:00:00
availability_ends
​string | null

An ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no end.

Example: null
extra_input_group
​integer | null

The id of an existing extra input group, or null for none. An unknown id returns 400.

Example: null
​SecondaryCategoryInput[]

The product's secondary categories. Every id must be an existing category other than the primary category, otherwise the request returns 400. In PUT, a non-empty array replaces all secondary categories.

​LocalizedDescription[]
​LocalizedAbbreviation[]
​LocalizedHtmlContent[]

LocalizedTitle

language
​Language · required

A language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.

Example: EN
title
​string · required

ProductAttachment

id
​integer
​array | null
created_at
​string · date-time
modified_at
​string · date-time
​array | null
public_link
​string

The attachment's download URL. Anyone with the link can download the file.

Example: https://shop.example.com/attachment/download/12-9e107d9d372bb6826bd81d3542a419d6.pdf
position
​integer
href
​string

ProductAttachmentList

Links to the first, previous and next page. Each link carries the request's `limit`, `offset` and filters. At either end of the list the object is still there, with `href` set to `null`.
href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​PageLink
​PageLink
​PageLink
​object[]
​Meta

ProductAttachmentItem

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]
​Meta

ProductAttachmentUpdate

position
​integer

Titles to add or change. A language the attachment has no title for yet needs a non-empty title.

​LocalizedDescription[]

ProductAttachmentUpload

file_url_path
​string · required

The file's http(s):// URL on a public host.

Example: https://files.example.com/manuals/grinder-manual.pdf
position
​integer

The attachment's position. 0 or omitted puts it after the product's other attachments.

Example: 1

The attachment's titles. If omitted, the title is the stored file name, in the shop's default language.

​LocalizedDescription[]

AttachmentBase64Upload

base64
​string · required

The base64-encoded file. Invalid base64 returns 400. Send no other fields: the title is the stored file name, and the attachment goes after the product's other attachments.

Example: JVBERi0xLjQKJcfsj6IKMSAwIG9iago8PC9UeXBlL0NhdGFsb2c+PgplbmRvYmoKdHJhaWxlcgo8PC9Sb290IDEgMCBSPj4KJSVFT0YK

ProductVariation

id
​integer
erp_id
​string
product_id
​integer
​array | null
​array | null
additional_price
​number

The amount added to the product's price.

Example: 2
stock
​integer
group_id
​integer

The id of the variation's group.

Example: 2
color
​string
size
​string
type
​string
image
​string

The variation's image source, as stored.

Example:
variation_code
​string
ean_code
​string
hidden
​boolean
position
​integer
visible_out_of_stock
​boolean
buyable_out_of_stock
​boolean
created_at
​string · date-time
modified_at
​string · date-time
​ItemProperty[]
href
​string

ProductVariationItems

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]
​Meta

ProductVariationCreate

group_id
​integer · required

The id of an existing variation group. An unknown id returns 400.

Example: 2
stock
​integer · required
​LocalizedName[] · minItems: 1 · required

The variation's names. Each entry needs a non-empty name.

​LocalizedDescription[]
additional_price
​number
variation_code
​string
ean_code
​string
erp_id
​string
color
​string
size
​string
image
​string

The variation's image as an http(s):// URL on a public host. A URL whose host is in a private network returns 400.

Example: https://images.example.com/coffee/dark-roast-1kg.jpg
position
​integer

The variation's position. 0 or omitted puts it last.

Example: 1
hidden
​boolean
visible_out_of_stock
​boolean
buyable_out_of_stock
​boolean

ProductDescriptionSummary

id
​integer
name
​string
language
​Language

A language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.

Example: EN
label
​string
description
​string
href
​string

ProductDescriptionList

Links to the first, previous and next page. Each link carries the request's `limit`, `offset` and filters. At either end of the list the object is still there, with `href` set to `null`.
href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​PageLink
​PageLink
​PageLink
​object[]
​Meta

ProductDescriptionUpdate

language
​string

A language the shop uses, such as EN. Any other value returns 400. Required when you add a description; in an update, omit it to keep the current language.

Example: EN
name
​string

Required when you add a description. Can't be null.

Example: Brewing tips
label
​string
description
​string
visible_in_list
​boolean
visible_in_product
​boolean
visible_in_email
​boolean

ProductDescriptionCreate

language
​string · required

A language the shop uses, such as EN. Any other value returns 400. Required when you add a description; in an update, omit it to keep the current language.

Example: EN
name
​string · required

Required when you add a description. Can't be null.

Example: Brewing tips
label
​string
description
​string
visible_in_list
​boolean
visible_in_product
​boolean
visible_in_email
​boolean

ProductDescriptionVisibility

visible_in_list
​boolean

Whether the description is shown in product lists.

Example: false
visible_in_product
​boolean

Whether the description is shown on the product page.

Example: true
visible_in_email
​boolean

Whether the description is shown in emails.

Example: false

ProductDescription

id
​integer
name
​string
language
​Language

A language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.

Example: EN
label
​string
description
​string
href
​string
visible_in_list
​boolean

Whether the description is shown in product lists.

Example: false
visible_in_product
​boolean

Whether the description is shown on the product page.

Example: true
visible_in_email
​boolean

Whether the description is shown in emails.

Example: false

ProductDescriptionItem

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]
​Meta

CompatibleProductInput

Identifies a product by exactly one of these fields.
product_id
​integer
product_code
​string
ean_code
​string
erp_id
​string

CompatibleProduct

product_id
​integer
product_code
​string
ean_code
​string
erp_id
​string
href
​string

CompatibleProductItems

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]
​Meta

ProductImage

id
​integer
​array | null
link
​string

The image's public URL.

Example: https://shop.example.com/static/media/images/3f/original/3f2a9c1e5b7d4a6f8e0c2b1a9d8e7f6a.jpg
is_default
​boolean

Whether this is the product's default image.

Example: true
is_teaser
​boolean

Whether this is the product's teaser image.

Example: false
​array | null
position
​integer
href
​string

ProductImageList

Links to the first, previous and next page. Each link carries the request's `limit`, `offset` and filters. At either end of the list the object is still there, with `href` set to `null`.
href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​PageLink
​PageLink
​PageLink
​object[]
​Meta

ProductImageItem

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]
​Meta

ProductImageUpdate

is_default
​boolean

true makes this the product's default image. false removes it as the default image if it is one.

Example: true
is_teaser
​boolean

true makes this the product's teaser image. false removes it as the teaser image if it is one.

Example: false
position
​integer

Titles to add or change. A language the image has no title for yet needs a non-empty title.

​LocalizedDescription[]

ProductImageUpload

file_url_path
​string · required

Where to get the image: an http(s):// URL on a public host, or img:<id> to reuse the file of an existing image in the shop. JPEG, PNG, GIF, TIFF and BMP images are accepted.

Example: https://images.example.com/coffee/dark-roast-500g.jpg
is_default
​boolean

true makes the image the product's default image.

Example: true
is_teaser
​boolean

true makes the image the product's teaser image.

Example: false
position
​integer

The image's position. 0 or omitted puts it after the product's other images.

Example: 1

The image's titles. If omitted, the title is the stored file name, in the shop's default language.

​LocalizedDescription[]

ImageBase64Upload

base64
​string · required

The base64-encoded image: JPEG, PNG, GIF, TIFF or BMP. Send no other fields: the title is the stored file name, and the image goes after the product's other images.

Example: iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==

ProductTagInput

tag_id
​integer · required
tag_id
​integer
href
​string

ProductTagItems

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]
​Meta

ProductPropertyList

Links to the first, previous and next page. Each link carries the request's `limit`, `offset` and filters. At either end of the list the object is still there, with `href` set to `null`.
href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​PageLink
​PageLink
​PageLink
​object[]
​Meta

ProductPropertyCreate

property_id
​integer · required

The id of a property that has options and is available to the product's primary or secondary categories for products. A property the product already has returns 400.

Example: 15
option_ids
​integer[] · minItems: 1 · required

Ids of the property's options to select, at least one; an empty array returns 400. A property that doesn't allow several values takes one id.

Example: [41]

ProductPropertyItem

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]
​Meta

ProductPropertyUpdate

option_ids
​integer[] · required

The options to select. They replace the current selection; an empty array removes them all. A property that doesn't allow several values takes one id.

Example: [41,42]

ProductStock

stock
​integer
reserved
​integer

The quantity reserved by open orders.

Example: 3
sold
​integer
returned
​integer
sold_elsewhere
​integer
returned_elsewhere
​integer
stock_history_href
​string

ProductStockItem

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]
​Meta

StockHistoryEntry

id
​integer
comment
​string
​object[]

The name of the change type, per language. Empty if the change has no type.

stock_change
​integer

How much the stock changed.

Example: -2
stock
​integer

The stock after the change.

Example: 118
order_id
​integer | null

The order that changed the stock, or null.

Example: 1043
​object[]

The name of the order's status at the time, per language. Empty if there is no order status.

order_href
​string | null

The order's URL, or null if order_id is null.

Example: https://shop.example.com/api/v1/orders/1043
created_at
​string · date-time

StockHistoryList

Links to the first, previous and next page. Each link carries the request's `limit`, `offset` and filters. At either end of the list the object is still there, with `href` set to `null`.
href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​PageLink
​PageLink
​PageLink
​object[]
​Meta

PropertyType

string · enum
Enum values:
boolean
choice
option_group
date
datetime
wysiwyg
link
numeric

The property's value type. boolean, option_group, numeric, date and datetime values are not localized; the others are.

Example: choice

PropertyName

language
​string · required

The language code, in upper case. Elements for languages the shop doesn't use are ignored.

Example: EN
name
​string · required

PropertyBase

id
​integer
​array | null

The property's name per language, or null if it has none.

code
​string

Your own code for the property, or an empty string.

Example: roast
property_of_product
​boolean

Whether products can have the property.

Example: true
property_of_variation
​boolean

Whether variations can have the property.

Example: false
type
​PropertyType · enum

The property's value type. boolean, option_group, numeric, date and datetime values are not localized; the others are.

Enum values:
boolean
choice
option_group
date
datetime
wysiwyg
link
numeric
Example: choice
public
​boolean

Whether the property is shown to customers.

Example: true
filter
​boolean

Whether customers can filter products by the property.

Example: true
multichoice
​boolean

Whether a product or variation can have more than one of the property's options.

Example: false

PropertyCategory

id
​integer
​object[]

The category's name per language; an empty array if it has none.

href
​string

The URL of the category.

Example: https://shop.example.com/api/v1/categories/14

PropertySummary

id
​integer
​array | null

The property's name per language, or null if it has none.

code
​string

Your own code for the property, or an empty string.

Example: roast
property_of_product
​boolean

Whether products can have the property.

Example: true
property_of_variation
​boolean

Whether variations can have the property.

Example: false
type
​PropertyType · enum

The property's value type. boolean, option_group, numeric, date and datetime values are not localized; the others are.

Enum values:
boolean
choice
option_group
date
datetime
wysiwyg
link
numeric
Example: choice
public
​boolean

Whether the property is shown to customers.

Example: true
filter
​boolean

Whether customers can filter products by the property.

Example: true
multichoice
​boolean

Whether a product or variation can have more than one of the property's options.

Example: false
​array | null

The categories that use the property: its own category and the categories that inherit properties from it. null when default_property is true.

default_property
​boolean

Whether the property is one of the shop's default properties.

Example: false
href
​string

The URL of the property.

Example: https://shop.example.com/api/v1/properties/8

PropertyUserHelp

language
​string · required

The language code, in upper case. Elements for languages the shop doesn't use are ignored.

Example: EN
user_help
​string · required

PropertyPostIn

​PropertyName[] · minItems: 1 · required

The property's name per language. Each element needs a non-empty name.

type
​PropertyType · enum · required

The property's value type. boolean, option_group, numeric, date and datetime values are not localized; the others are.

Enum values:
boolean
choice
option_group
date
datetime
wysiwyg
link
numeric
Example: choice
category_id
​integer · required

The category to create the property in. It must exist and not be deleted.

Example: 14
code
​string

Your own code for the property.

Example: roast
Default:
property_of_product
​boolean

Whether products can have the property. If you send neither this nor property_of_variation, the property is for products.

Example: true
property_of_variation
​boolean

Whether variations can have the property.

Example: false
multichoice
​boolean

Whether a product or variation can have more than one option. Can't be true for boolean.

Example: false
Default: false
public
​boolean
Example: true
Default: false
filter
​boolean
Example: true
Default: false
default_property
​boolean
Example: false
Default: false
position
​integer

The sort position. If you leave it out, the property gets the next free number.

Example: 12
​PropertyUserHelp[]

Help texts for the shop's admin users per language.

PropertyOptionName

language
​string
name
​string

The option's value in this language. A range option is <min>|<max> with a decimal comma, a boolean option 1|<yes> or 0|<no>, and a datetime option YYYY-MM-DD HH:MM:SS.

Example: Dark roast

Property

id
​integer
​array | null

The property's name per language, or null if it has none.

code
​string

Your own code for the property, or an empty string.

Example: roast
property_of_product
​boolean

Whether products can have the property.

Example: true
property_of_variation
​boolean

Whether variations can have the property.

Example: false
type
​PropertyType · enum

The property's value type. boolean, option_group, numeric, date and datetime values are not localized; the others are.

Enum values:
boolean
choice
option_group
date
datetime
wysiwyg
link
numeric
Example: choice
public
​boolean

Whether the property is shown to customers.

Example: true
filter
​boolean

Whether customers can filter products by the property.

Example: true
multichoice
​boolean

Whether a product or variation can have more than one of the property's options.

Example: false
category_id
​integer

The id of the category the property was created in.

Example: 14
​array | null

The categories that use the property: its own category and the categories that inherit properties from it. null when default_property is true.

default_property
​boolean

Whether the property is one of the shop's default properties.

Example: false
​array | null

Help texts for the shop's admin users per language, or null if there are none.

position
​integer

The property's sort position.

Example: 12
created_at
​string · date-time
modified_at
​string · date-time

When the property or one of its options was last changed.

Example: 2026-11-22T07:35:27+02:00
​object[]

The property's options; an empty array if it has none.

PropertyResponse

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]

The property, as the only element.

​Meta

PropertyPutIn

`type`, `category_id`, `multichoice`, `property_of_product` and `property_of_variation` can't be changed and are ignored.

Names to add or change, one element per language. Languages you leave out keep their stored values. A language the property has no name for yet needs a non-empty name.

code
​string
public
​boolean
filter
​boolean
default_property
​boolean
position
​integer
​PropertyUserHelp[]

Help texts to add or change, one element per language.

PropertyOption

id
​integer
​array | null

The option's value per language, or null if it has none.

OptionLocalizedValuesIn

For `text`, `short_text`, `link`, `wysiwyg`, `choice`, `date` and `datetime` properties. A `date` value is `YYYY-MM-DD`; a `datetime` value is an ISO 8601 date and time, converted to the shop's time zone.
​object[] · required

The option's value per language. Each language must be one the shop uses, else 400. Languages you leave out get an empty value, also on PUT.

OptionRangeIn

For `range` properties. The same range is stored for every language.
​object · required

OptionNumericIn

For `numeric` properties. The same value is stored for every language.
value
​integer · required

OptionIn

oneOf
Exactly one variant must match.

Decision Table

VariantMatching Criteria
type = object · requires: values
type = object · requires: values
type = object · requires: value
Properties for Localized values:
For `text`, `short_text`, `link`, `wysiwyg`, `choice`, `date` and `datetime` properties. A `date` value is `YYYY-MM-DD`; a `datetime` value is an ISO 8601 date and time, converted to the shop's time zone.
​object[] · required

The option's value per language. Each language must be one the shop uses, else 400. Languages you leave out get an empty value, also on PUT.

PropertyOptionResponse

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]

The option, as the only element.

​Meta

RoleLabel

language
​string · required

The language code, in upper case. Elements for languages the shop doesn't use are ignored.

Example: EN
label
​string · required

RoleDescription

language
​string · required

The language code, in upper case. Elements for languages the shop doesn't use are ignored.

Example: EN
description
​string · required

RoleSummary

id
​integer
name
​string

The role's internal name.

Example: wholesale
​array | null

The display name per language, or null if the role has none.

​array | null

The description per language, or null if the role has none.

href
​string

The URL of the role.

Example: https://shop.example.com/api/v1/roles/4

RolePostIn

name
​string · required

The role's internal name.

Example: wholesale
​RoleLabel[] · minItems: 1 · required

The display name per language. Each element needs a non-empty label.

code
​string | null

Your own code for the role. null sets an empty string.

Example: WHOLESALE
Default:
​RoleDescription[]

The description per language.

Role

id
​integer
name
​string

The role's internal name.

Example: wholesale
​array | null

The display name per language, or null if the role has none.

​array | null

The description per language, or null if the role has none.

code
​string

Your own code for the role, or an empty string.

Example: WHOLESALE

RoleResponse

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]

The role, as the only element.

​Meta

RolePutIn

name
​string

The role's internal name.

Example: wholesale
code
​string | null

Your own code for the role. null sets an empty string.

Example: WHOLESALE
​RoleLabel[]

Display names to add or change, one element per language. Languages you leave out keep their stored values. A language the role has no label for yet needs a non-empty label.

​RoleDescription[]

Descriptions to add or change, one element per language.

StockIn

The new stock and exactly one identifier. An identifier that is an empty string or `0` counts as missing.
stock
​integer · required

The new stock quantity.

Example: 25
code
​string

Matches products by product code and variations by variation code.

Example: COF-ETH-250
ean_code
​string

Matches products and variations by EAN code.

Example: 6412345678903
erp_id
​string

Matches products and variations by ERP id.

Example: ERP-10042
product_id
​integer

Matches the product with this id.

Example: 5
variation_id
​integer

Matches the variation with this id.

Example: 31

NotFound

​object[]

The request elements that updated nothing, as {"<identifier>": <value as sent>}. Present only when some elements matched and some didn't.

StockOut

stock
​integer

The product's or variation's stock after the update. For a product whose stock the shop computes from its variations, this is the computed sum.

Example: 25
id
​integer

The id of the product or variation.

Example: 5
code
​string

The product code or variation code, or an empty string.

Example: COF-ETH-250
ean_code
​string

The EAN code, or an empty string.

Example: 6412345678903
erp_id
​string

The ERP id, or an empty string.

Example: ERP-10042
href
​string

The URL of the updated product (/products/{id}) or variation (/variations/{id}). It tells you which kind was updated.

Example: https://shop.example.com/api/v1/products/5

StocksOut

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]

The request elements that updated nothing, as {"<identifier>": <value as sent>}. Present only when some elements matched and some didn't.

​StockOut[]

The updated products and variations.

​Meta

StockAlertValue

integer | null

The stock alert limit. When an order takes the available stock below this limit, the shop sends a stock alert email. null or 0 uses the shop's default limit.

Example: 5

ProductStockAlertIn

product_id
​integer · required
stock_alert
​StockAlertValue · required

The stock alert limit. When an order takes the available stock below this limit, the shop sends a stock alert email. null or 0 uses the shop's default limit.

Example: 5

StockAlertOut

stock_alert
​StockAlertValue

The stock alert limit. When an order takes the available stock below this limit, the shop sends a stock alert email. null or 0 uses the shop's default limit.

Example: 5
id
​integer

The id of the product or variation.

Example: 5
href
​string

The URL of the product or variation.

Example: https://shop.example.com/api/v1/products/5

StockAlertsOut

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]

The request elements that updated nothing, as {"<identifier>": <id as sent>}. Present only when some elements matched and some didn't.

The updated products or variations.

​Meta

VariationStockAlertIn

variation_id
​integer · required
stock_alert
​StockAlertValue · required

The stock alert limit. When an order takes the available stock below this limit, the shop sends a stock alert email. null or 0 uses the shop's default limit.

Example: 5

TagName

language
​string · required

The language code, in upper case. Elements for languages the shop doesn't use are ignored.

Example: EN
name
​string · required

TagSummary

​array | null

The tag's name per language, or null if it has none.

code
​string

Your own code for the tag, or an empty string.

Example: ORGANIC
hidden
​boolean

Whether the tag is hidden in the shop.

Example: false
brand
​boolean

Whether the tag is a brand.

Example: false
href
​string

The URL of the tag. List items have no id; the id is the last part of this URL.

Example: https://shop.example.com/api/v1/tags/12

TagDescription

language
​string · required

The language code, in upper case. Elements for languages the shop doesn't use are ignored.

Example: EN
description
​string · required

TagPostIn

​TagName[] · minItems: 1 · required

The tag's name per language. Each element needs a non-empty name.

​TagDescription[]

The tag's description per language.

code
​string

Your own code for the tag.

Example: ORGANIC
Default:
hidden
​boolean
Example: false
Default: false
brand
​boolean
Example: false
Default: false
type
​string

A free-text type that groups tags.

Example: certificate
Default:
image
​string

The file name of an image in the shop. The API stores the value as given; it doesn't upload or check the image.

Example:
Default:
content_image
​string

The file name of an image in the shop. The API stores the value as given; it doesn't upload or check the image.

Example:
Default:
show_in_menu
​boolean
Example: true
Default: true
position
​integer
Example: 50
Default: 50
hide_products
​boolean
Example: false
Default: false

Tag

id
​integer
​array | null

The tag's name per language, or null if it has none.

code
​string

Your own code for the tag, or an empty string.

Example: ORGANIC
hidden
​boolean

Whether the tag is hidden in the shop.

Example: false
brand
​boolean

Whether the tag is a brand.

Example: false
type
​string

A free-text type that groups tags, or an empty string.

Example: certificate
image
​string

The file name of the tag's image in the shop, or an empty string.

Example:
content_image
​string

The file name of the tag's content image in the shop, or an empty string.

Example:
​array | null

The tag's description per language, or null if it has none.

created_at
​string · date-time
modified_at
​string | null · date-time

When the tag was last changed, or null if it never has been.

Example: 2026-11-22T07:35:27+02:00
show_in_menu
​boolean

Whether the tag is shown in the shop's menu.

Example: true
position
​integer

The tag's sort position.

Example: 50
hide_products
​boolean

Whether products that have this tag are hidden in the shop.

Example: false

TagResponse

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]

The tag, as the only element.

​Meta

TagPutIn

​TagName[]

Names to add or change, one element per language. Languages you leave out keep their stored values. A language the tag has no name for yet needs a non-empty name.

​TagDescription[]

Descriptions to add or change, one element per language.

code
​string

Your own code for the tag.

Example: ORGANIC
hidden
​boolean
brand
​boolean
type
​string

A free-text type that groups tags.

Example: certificate
image
​string

The file name of an image in the shop. The API stores the value as given; it doesn't upload or check the image.

Example:
content_image
​string

The file name of an image in the shop. The API stores the value as given; it doesn't upload or check the image.

Example:
show_in_menu
​boolean
position
​integer
hide_products
​boolean

VariationName

language
​string · required

The language code, in upper case. Elements for languages the shop doesn't use are ignored.

Example: EN
name
​string · required

VariationDescription

language
​string · required

The language code, in upper case. Elements for languages the shop doesn't use are ignored.

Example: EN
description
​string · required

VariationBase

id
​integer
erp_id
​string

The variation's id in your ERP, or an empty string.

Example: ERP-10042-WB
product_id
​integer

The product the variation belongs to.

Example: 5
variation_code
​string

The variation's code (SKU), or an empty string.

Example: COF-ETH-250-WB
ean_code
​string

The EAN code, or an empty string.

Example: 6412345678910
group_id
​integer

The variation group the variation belongs to.

Example: 3
hidden
​boolean

Whether the variation is hidden in the shop.

Example: false
​array | null

The variation's name per language, or null if it has none.

​array | null

The variation's description per language, or null if it has none.

additional_price
​number

The amount added to the product's price for this variation.

Example: 2.5
position
​integer

The variation's sort position.

Example: 1
stock
​integer
visible_out_of_stock
​boolean

Whether the variation is shown when it is out of stock.

Example: true
buyable_out_of_stock
​boolean

Whether the variation can be bought when it is out of stock.

Example: false
created_at
​string · date-time
modified_at
​string · date-time

VariationSummary

id
​integer
erp_id
​string

The variation's id in your ERP, or an empty string.

Example: ERP-10042-WB
product_id
​integer

The product the variation belongs to.

Example: 5
variation_code
​string

The variation's code (SKU), or an empty string.

Example: COF-ETH-250-WB
ean_code
​string

The EAN code, or an empty string.

Example: 6412345678910
group_id
​integer

The variation group the variation belongs to.

Example: 3
hidden
​boolean

Whether the variation is hidden in the shop.

Example: false
​array | null

The variation's name per language, or null if it has none.

​array | null

The variation's description per language, or null if it has none.

additional_price
​number

The amount added to the product's price for this variation.

Example: 2.5
position
​integer

The variation's sort position.

Example: 1
stock
​integer
visible_out_of_stock
​boolean

Whether the variation is shown when it is out of stock.

Example: true
buyable_out_of_stock
​boolean

Whether the variation can be bought when it is out of stock.

Example: false
created_at
​string · date-time
modified_at
​string · date-time
href
​string

The URL of the variation.

Example: https://shop.example.com/api/v1/variations/31

VariationLocalizedName

language
​string
name
​string

VariationPropertyValue

id
​integer

The option's id.

Example: 41

The option's value per language; an empty array if it has none.

VariationProperty

id
​integer

The id of this property value of the variation. Use it in /variations/{variation-id}/properties/{id}.

Example: 77
property_id
​integer

The property's id.

Example: 8

The property's name per language; an empty array if it has none.

type
​string

The property's type.

Example: choice

The property options the variation has, newest option first.

Variation

id
​integer
erp_id
​string

The variation's id in your ERP, or an empty string.

Example: ERP-10042-WB
product_id
​integer

The product the variation belongs to.

Example: 5
variation_code
​string

The variation's code (SKU), or an empty string.

Example: COF-ETH-250-WB
ean_code
​string

The EAN code, or an empty string.

Example: 6412345678910
group_id
​integer

The variation group the variation belongs to.

Example: 3
hidden
​boolean

Whether the variation is hidden in the shop.

Example: false
​array | null

The variation's name per language, or null if it has none.

​array | null

The variation's description per language, or null if it has none.

additional_price
​number

The amount added to the product's price for this variation.

Example: 2.5
position
​integer

The variation's sort position.

Example: 1
stock
​integer
visible_out_of_stock
​boolean

Whether the variation is shown when it is out of stock.

Example: true
buyable_out_of_stock
​boolean

Whether the variation can be bought when it is out of stock.

Example: false
created_at
​string · date-time
modified_at
​string · date-time
color
​string

The variation's color code, or an empty string.

Example:
size
​string

The variation's size, or an empty string.

Example:
type
​string

An empty string or string.

Example:
​VariationProperty[]

The variation's property values; an empty array if it has none.

VariationResponse

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]

The variation, as the only element.

​Meta

VariationPutIn

product_id
​integer

Moves the variation to this product. The product must exist and not be deleted, else 400.

Example: 5
group_id
​integer

The variation group. It must exist and not be deleted, else 400.

Example: 3

Names to add or change, one element per language. Languages you leave out keep their stored values. A language the variation has no name for yet needs a non-empty name.

​VariationDescription[]

Descriptions to add or change, one element per language.

additional_price
​number
stock
​integer
color
​string

The color code. The shop may store it as a mapped color code if it has a color mapping for the product's supplier.

Example:
size
​string

The size. The shop may store it as a mapped size if it has a size mapping for the product's supplier.

Example:
type
​string

An empty string or string; any other value returns 400.

Example:
erp_id
​string
variation_code
​string
ean_code
​string
hidden
​boolean
position
​integer

The sort position. 0 is ignored.

Example: 1
visible_out_of_stock
​boolean
buyable_out_of_stock
​boolean

VariationPropertyPostIn

property_id
​integer · required

The property to set.

Example: 8
option_ids
​integer[] · minItems: 1 · required

The ids of the property's options to give the variation, at least one; an empty array returns 400. More than one only if the property is multichoice.

Example: [41]

VariationPropertyResponse

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]

The property value, as the only element.

​Meta

VariationPropertyPutIn

option_ids
​integer[] · required

The full list of option ids the variation should have for this property. Options not in the list are removed; an empty array removes them all. More than one only if the property is multichoice.

Example: [42]

VariationStock

stock
​integer

The stock quantity.

Example: 12
reserved
​integer

The reserved quantity.

Example: 2
sold
​integer
sold_elsewhere
​integer
returned
​integer
returned_elsewhere
​integer
stock_history_href
​string

The URL of the variation's stock history.

Example: https://shop.example.com/api/v1/variations/31/stock/history

VariationStockHistoryEntry

id
​integer
comment
​string

A free-text comment, or an empty string. Changes made through POST /stocks have REST API.

Example: REST API
​object[]

The kind of change per language, such as Sale or Change; an empty array if it has none.

stock_change
​integer

How much the stock changed; negative for a decrease.

Example: 5
stock
​integer

The stock after the change.

Example: 12
order_id
​integer | null

The order that caused the change, or null.

Example: null
order_href
​string | null

The URL of that order, or null.

Example: null
created_at
​string · date-time

VariationGroupName

language
​string · required

The language code, in upper case. Elements for languages the shop doesn't use are ignored.

Example: EN
name
​string · required

VariationGroup

id
​integer
​array | null

The group's name per language, or null if it has none.

code
​string

Your own code for the group, or an empty string.

Example: SIZE
required
​boolean

Whether choosing a variation from this group is required.

Example: true
position
​integer

The group's sort position.

Example: 0
hide_product_if_no_stock
​boolean

Whether a product is hidden in the shop when none of its variations in this group is in stock.

Example: false

VariationGroupSummary

id
​integer
​array | null

The group's name per language, or null if it has none.

code
​string

Your own code for the group, or an empty string.

Example: SIZE
required
​boolean

Whether choosing a variation from this group is required.

Example: true
position
​integer

The group's sort position.

Example: 0
hide_product_if_no_stock
​boolean

Whether a product is hidden in the shop when none of its variations in this group is in stock.

Example: false
href
​string

The URL of the variation group.

Example: https://shop.example.com/api/v1/variationgroups/3

VariationGroupPostIn

​VariationGroupName[] · minItems: 1 · required

The group's name per language. Each element needs a non-empty name.

code
​string
Example: SIZE
Default:
required
​boolean
Example: true
Default: false
position
​integer

The group's sort position. If you leave it out or send 0, the group gets 999.

Example: 10
Default: 999
hide_product_if_no_stock
​boolean
Example: false
Default: false

VariationGroupResponse

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]

The variation group, as the only element.

​Meta

VariationGroupPutIn

Names to add or change, one element per language. Languages you leave out keep their stored values. A language the group has no name for yet needs a non-empty name.

code
​string
required
​boolean
position
​integer
hide_product_if_no_stock
​boolean

VariationImageTitle

language
​string · required

The language code, in upper case. Elements for languages the shop doesn't use are ignored.

Example: EN
title
​string · required

VariationImageDescription

language
​string · required

The language code, in upper case. Elements for languages the shop doesn't use are ignored.

Example: EN
description
​string · required

VariationImage

id
​integer
​array | null

The image's title per language, or null if it has none.

link
​string

The image's public URL.

Example: https://shop.example.com/static/media/images/3f/original/3f2a9c0e5b7d4a1e8c6b2d9f0a1e4c7b.jpg
is_default
​boolean

Whether the image is the variation's main image.

Example: true
is_teaser
​boolean

Whether the image is the variation's teaser image.

Example: false
​array | null

The image's description per language, or null if it has none.

position
​integer

The image's sort position.

Example: 1
href
​string

The URL of the image in the API.

Example: https://shop.example.com/api/v1/variations/31/images/120

VariationImageResponse

href
​string

The URL of the request.

Example: https://shop.example.com/api/v1/products
​object[]

The image, as the only element.

​Meta

VariationImagePutIn

is_default
​boolean

true makes this the variation's main image; false clears the main image if it is this one.

Example: true
is_teaser
​boolean

true makes this the variation's teaser image; false clears the teaser image if it is this one.

Example: false
position
​integer

Titles to add or change, one element per language. Languages you leave out keep their stored values. A language the image has no title for yet needs a non-empty title.

Descriptions to add or change, one element per language.

VariationImageUrlUpload

file_url_path
​string · required

An http:// or https:// URL of an image on a public host, or img:<id> to reuse an image that is already in the shop. A refused URL, a failed download or a file that isn't an image returns 400 Parameter 'file_url_path' has invalid value.

Example: https://images.example.com/coffee/ethiopia-250g.jpg

The image's title per language. Without titles, the title is the stored file name, in one language. A language with an empty title is skipped.

The image's description per language.

is_default
​boolean

Makes the image the variation's main image.

Example: true
Default: false
is_teaser
​boolean

Makes the image the variation's teaser image.

Example: false
Default: false
position
​integer

The sort position. If you leave it out or send 0, the image goes last.

Example: 1

VariationImageBase64Upload

The image file itself. Don't send other fields with `base64`: the request is then read as a URL upload and fails without `file_url_path`. The image goes last, its title is the stored file name, and it isn't made the main or teaser image.
base64
​string · required

The image file, base64-encoded. JPEG, PNG, GIF, TIFF and BMP are accepted; anything else is 400.

Example: iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8z8DwHwAFBQIAX8jx0gAAAABJRU5ErkJggg==