Schemas
Meta
response_atWhen the response was made, in the shop's time zone.
Response
Error
codeThe HTTP status code.
messageWhat went wrong. The text is for people and may change; don't parse it.
PageLink
hrefThe page's URL, or null if there is no such page.
AccountSummary
idnamecustomer_numberemailrole_idThe ID of the account's customer role.
hrefThe URL of the full account.
ResultIndex
result_indexThe item's 1-based position in this response. Every item has it, also in single-item, POST, PUT and DELETE responses.
AccountInput
nameThe customer's name. Can't be null; on create it can't be a number.
emailA valid email address that no other account uses, ignoring case. The shop saves it in lowercase. Can't be null.
role_idThe 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.
customer_numberstreetstreet2postal_codecitystatecountycountry_idThe ID of a delivery country, see List countries. Sets country_name and country_code too. null removes the country.
phone_numbercompanyvat_numberpublic_languageOne of the shop's languages, a two-letter code such as FI. Other values return 400.
genderm, f, x (prefers not to say), or an empty string or null for unknown.
birthdateAn ISO 8601 date. A date-time is accepted too; only the date is stored.
email_promotion_allowedCan't be null.
mail_promotion_allowedCan't be null.
sms_promotion_allowedCan't be null.
pays_vatdefault follows the shop's VAT setting, yes and no override it. An empty string or null means default.
referencecreditsSets the account's credit balance to this amount (it does not add to it). Can't be null.
extra_data_1extra_data_2extra_data_3AccountInPost
nameThe customer's name. Can't be null; on create it can't be a number.
emailA valid email address that no other account uses, ignoring case. The shop saves it in lowercase. Can't be null.
role_idThe 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.
customer_numberstreetstreet2postal_codecitystatecountycountry_idThe ID of a delivery country, see List countries. Sets country_name and country_code too. null removes the country.
phone_numbercompanyvat_numberpublic_languageOne of the shop's languages, a two-letter code such as FI. Other values return 400.
genderm, f, x (prefers not to say), or an empty string or null for unknown.
birthdateAn ISO 8601 date. A date-time is accepted too; only the date is stored.
email_promotion_allowedCan't be null.
mail_promotion_allowedCan't be null.
sms_promotion_allowedCan't be null.
pays_vatdefault follows the shop's VAT setting, yes and no override it. An empty string or null means default.
referencecreditsSets the account's credit balance to this amount (it does not add to it). Can't be null.
extra_data_1extra_data_2extra_data_3Account
idnamecustomer_numberemailrole_idThe ID of the account's customer role.
streetstreet2postal_codecitystatecountycountry_nameThe country's name, set from country_id when the account was created or country_id changed.
country_idThe ID of the account's country, or null if none is set.
country_codeThe country's three-letter ISO 3166-1 alpha-3 code, or an empty string if no country is set.
phone_numbercompanyvat_numbercreated_atmodified_atpublic_languageThe account's language in the shop, a two-letter code such as FI, or an empty string.
genderm, f, x (prefers not to say), or an empty string if unknown.
birthdateemail_promotion_allowedmail_promotion_allowedsms_promotion_allowedpays_vatWhether the account's prices include VAT: default follows the shop's setting, yes and no override it.
referencecreditsThe account's credit balance. 0 if the account has no credits.
extra_data_1extra_data_2extra_data_3CategoryLanguage
A two-letter language code in uppercase, one of the shop's languages.
CategoryNames
languageA two-letter language code in uppercase, one of the shop's languages.
nameCategorySummary
idcodeparentThe parent category's ID, or null for a top-level category.
levelThe category's depth in the tree. A top-level category is at level 1.
The category's names, or null if it has none.
created_atmodified_athiddenerp_idhrefThe URL of the full category.
CategoryImages
languageA two-letter language code in uppercase, one of the shop's languages.
imageThe category image. The API stores the text as sent; it does not download anything.
CategoryTeaserImages
languageA two-letter language code in uppercase, one of the shop's languages.
teaser_imageThe category's teaser image. The API stores the text as sent; it does not download anything.
CategoryShortDescriptions
languageA two-letter language code in uppercase, one of the shop's languages.
short_descriptionCategoryDescriptions
languageA two-letter language code in uppercase, one of the shop's languages.
descriptionCategorySeoNames
languageA two-letter language code in uppercase, one of the shop's languages.
seo_nameThe category's part of its web address.
CategorySeoLinks
languageA two-letter language code in uppercase, one of the shop's languages.
seo_linkThe category's path in the shop, built from the seo_names of the category and its parents.
CategoryInput
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.
codenull stores an empty string.
erp_idnull stores an empty string.
group_namenull stores an empty string.
parentThe 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.
positionOrders the category among its siblings: lower comes first. On create, 0 or no value places it last. The shop then renumbers all positions.
secondary_positionhiddenCan't be null.
visible_in_menuCan't be null.
Used on update only. On create, the shop makes each seo_name from the name.
Overwritten. The shop builds seo_links from the seo_names of the category and its parents.
CategoryInPost
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.
codenull stores an empty string.
erp_idnull stores an empty string.
group_namenull stores an empty string.
parentThe 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.
positionOrders the category among its siblings: lower comes first. On create, 0 or no value places it last. The shop then renumbers all positions.
secondary_positionhiddenCan't be null.
visible_in_menuCan't be null.
Used on update only. On create, the shop makes each seo_name from the name.
Overwritten. The shop builds seo_links from the seo_names of the category and its parents.
Category
idcodeparentThe parent category's ID, or null for a top-level category.
levelThe category's depth in the tree. A top-level category is at level 1.
created_atmodified_athiddenpositionThe 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.
secondary_positionvisible_in_menugroup_nameerp_idCompanySummary
idnamecodehrefThe URL of the full company.
CompanyInput
nameCan't be null.
codeYour code for the company. The shop doesn't check that it is unique. Can't be null.
vat_numberstreetstreet_extrapostal_codecitycountycountryThe country as free text.
phone_numberemailA valid email address, or an empty string.
orders_emailWhere the shop sends order notifications when send_order_notify is true. The address is not validated.
send_order_notifySend order notifications to orders_email. Can't be null.
extra1extra2extra3extra4extra5CompanyInPost
nameCan't be null.
codeYour code for the company. The shop doesn't check that it is unique. Can't be null.
vat_numberstreetstreet_extrapostal_codecitycountycountryThe country as free text.
phone_numberemailA valid email address, or an empty string.
orders_emailWhere the shop sends order notifications when send_order_notify is true. The address is not validated.
send_order_notifySend order notifications to orders_email. Can't be null.
extra1extra2extra3extra4extra5Company
idnamecodevat_numberstreetstreet_extrapostal_codecitycountycountryThe country as free text, not a country ID or code.
phone_numberemailorders_emailWhere order notifications go when send_order_notify is true.
send_order_notifyextra1extra2extra3extra4extra5created_atmodified_atCompanyPriceFields
fixed_price_no_vatThe company's fixed price without VAT. 0 means no fixed price.
discount_percentThe company's discount percentage. 0 means no discount.
discount_valid_fromWhen the company price starts to apply, or null for no start date.
discount_valid_toWhen the company price stops applying, or null for no end date.
modifiedWhen the company price was last changed.
CompanyPriceListItem
productThe product's ID. For a variation price, the ID of the variation's product.
variationThe variation's ID, or null for a product price.
fixed_price_no_vatThe company's fixed price without VAT. 0 means no fixed price.
discount_percentThe company's discount percentage. 0 means no discount.
discount_valid_fromWhen the company price starts to apply, or null for no start date.
discount_valid_toWhen the company price stops applying, or null for no end date.
modifiedWhen the company price was last changed.
hrefThe URL of the product or variation (not of the company price).
CompanyPriceInput
fixed_price_no_vatThe company's fixed price without VAT. 0 or null means no fixed price.
discount_percentThe 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.
discount_valid_fromWhen 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.
discount_valid_toWhen the company price stops applying, in the same format as discount_valid_from. null removes the end date.
CompanyPriceBulkElement
productThe ID of the product whose company price you set.
variationThe ID of the variation whose company price you set.
fixed_price_no_vatThe company's fixed price without VAT. 0 or null means no fixed price.
discount_percentThe 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.
discount_valid_fromWhen 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.
discount_valid_toWhen the company price stops applying, in the same format as discount_valid_from. null removes the end date.
CompanyPriceBulkInput
productThe ID of the product whose company price you set.
variationThe ID of the variation whose company price you set.
fixed_price_no_vatThe company's fixed price without VAT. 0 or null means no fixed price.
discount_percentThe 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.
discount_valid_fromWhen 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.
discount_valid_toWhen the company price stops applying, in the same format as discount_valid_from. null removes the end date.
CompanyPriceNotFound
The elements that matched no product or variation, by the identifier you sent. Only present when there are such elements.
CompanyPriceBulkItem
companyproductThe product's ID. For a variation price, the ID of the variation's product.
variationThe variation's ID, or null for a product price.
fixed_price_no_vatThe company's fixed price without VAT. 0 means no fixed price.
discount_percentThe company's discount percentage. 0 means no discount.
discount_valid_fromWhen the company price starts to apply, or null for no start date.
discount_valid_toWhen the company price stops applying, or null for no end date.
modifiedWhen the company price was last changed.
hrefThe URL of the product or variation (not of the company price).
CompanyProductPrice
companyproductfixed_price_no_vatThe company's fixed price without VAT. 0 means no fixed price.
discount_percentThe company's discount percentage. 0 means no discount.
discount_valid_fromWhen the company price starts to apply, or null for no start date.
discount_valid_toWhen the company price stops applying, or null for no end date.
modifiedWhen the company price was last changed.
CompanyProductPriceItems
The company price. A GET returns no items if the company has no price for the product.
CompanyVariationPrice
companyvariationfixed_price_no_vatThe company's fixed price without VAT. 0 means no fixed price.
discount_percentThe company's discount percentage. 0 means no discount.
discount_valid_fromWhen the company price starts to apply, or null for no start date.
discount_valid_toWhen the company price stops applying, or null for no end date.
modifiedWhen the company price was last changed.
CompanyVariationPriceItems
The company price. A GET returns no items if the company has no price for the variation.
CountryNames
The country's name per language, or null if it has no names.
languageA two-letter language code in uppercase.
nameCountrySummary
idThe country's name per language, or null if it has no names.
codeThe country's three-letter ISO 3166-1 alpha-3 code.
hrefThe URL of the full country.
Country
idThe country's name per language, or null if it has no names.
codeThe country's three-letter ISO 3166-1 alpha-3 code.
abbreviationThe country's abbreviation in the shop, often an empty string.
positionThe country's sort position in the shop's country lists.
DiscountRoleIdsInput
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.
DiscountPercentInput
The discount percentage. Must be at least 0 and below 100 after rounding to two decimals, otherwise 400. null means 0.
DiscountStartsInput
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.
DiscountEndsInput
When the discount ends, in the same format as starts. null removes the end date.
CategoryDiscountInput
category_idThe ID of an existing, not deleted category.
role_idsThe 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.
discount_percentThe discount percentage. Must be at least 0 and below 100 after rounding to two decimals, otherwise 400. null means 0.
startsWhen 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.
endsWhen the discount ends, in the same format as starts. null removes the end date.
DiscountRoleAndDates
role_idsThe ID of the role this discount is for. Despite the name, a single ID.
discount_percentstartsWhen the discount starts, or null for no start date.
endsWhen the discount ends, or null for no end date.
CategoryDiscount
category_idrole_idsThe ID of the role this discount is for. Despite the name, a single ID.
discount_percentstartsWhen the discount starts, or null for no start date.
endsWhen the discount ends, or null for no end date.
CategoryDiscountItems
One item per category and role, sorted by category ID and role ID, highest first.
RoleDiscountInput
role_idsThe 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.
discount_percentThe discount percentage. Must be at least 0 and below 100 after rounding to two decimals, otherwise 400. null means 0.
startsWhen 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.
endsWhen the discount ends, in the same format as starts. null removes the end date.
FixedPriceInput
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.
ProductDiscountInput
product_idThe ID of an existing, not deleted product.
role_idsThe 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.
fixed_priceA 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.
discount_percentThe discount percentage. Must be at least 0 and below 100 after rounding to two decimals, otherwise 400. null means 0.
startsWhen 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.
endsWhen the discount ends, in the same format as starts. null removes the end date.
ProductDiscount
product_idfixed_priceThe role's fixed price, 0 for none.
role_idsThe ID of the role this discount is for. Despite the name, a single ID.
discount_percentstartsWhen the discount starts, or null for no start date.
endsWhen the discount ends, or null for no end date.
ProductDiscountItems
One item per product and role, sorted by product ID and role ID, highest first.
VariationDiscountInput
variation_idThe ID of an existing, not deleted variation.
role_idsThe 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.
fixed_priceA 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.
discount_percentThe discount percentage. Must be at least 0 and below 100 after rounding to two decimals, otherwise 400. null means 0.
startsWhen 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.
endsWhen the discount ends, in the same format as starts. null removes the end date.
VariationDiscount
variation_idfixed_priceThe role's fixed price, 0 for none.
role_idsThe ID of the role this discount is for. Despite the name, a single ID.
discount_percentstartsWhen the discount starts, or null for no start date.
endsWhen the discount ends, or null for no end date.
VariationDiscountItems
One item per variation and role, sorted by variation ID and role ID, highest first.
ExtraInputType
The kind of value the input takes. Inputs of the "select, copy from payer" kind are reported as select.
ExtraInput
idThe input's label in each language that has a translation, sorted by language. null if the input has no translations.
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.
The input's placeholder text in each language, sorted by language. null if the input has no translations.
typeThe kind of value the input takes. Inputs of the "select, copy from payer" kind are reported as select.
codeThe input's code. An empty string if it has none.
publicThe input's Public setting in the shop's admin.
group_codeThe input's group code. An empty string if it has none.
visible_in_adminWhether the shop's admin shows the input.
automaticThe input's Automatic setting in the shop's admin.
requiredWhether the customer must fill in the input.
ExtraInputGroupInput
nameCan't be null.
codenull stores an empty string.
OrderDelivery
idThe delivery method's id. null if the order has no delivery method.
The delivery method's current name in each language. null if the method has no translations or no longer exists.
costThe delivery cost of the order.
codeThe delivery method's product code. null if the method no longer exists.
OrderPayment
idThe payment method's id. null if the order has no payment method.
The payment method's current name in each language. null if the method has no translations or no longer exists.
costThe payment cost of the order.
codeThe payment method's product code. null if the method no longer exists.
OrderPayer
hrefThe URL of the customer's account. null if the order has no account.
idThe id of the customer's account. null if the order has no account.
customer_numbernameemailcoThe c/o line of the address.
streetstreet2postal_codecitystatecountycountryThe country's name.
country_codeThe country code in ISO 3166-1 alpha-3.
country_code_shortThe country code in ISO 3166-1 alpha-2.
phone_numbervat_numberbirthdatecompanyThe company name.
extra1extra2extra3OrderRecipient
nameemailstreetstreet2copostal_codecitystatecountrycountry_codeThe country code in ISO 3166-1 alpha-3.
phone_numbercompanyvat_numberextra1extra2extra3pick_up_point_codeThe 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.
pick_up_point_namepick_up_point_name_extendedpick_up_point_postal_codepick_up_point_streetpick_up_point_citypick_up_point_country_codeStatusComment
modifiedWhen the comment was saved.
status_commentOrderRowCommon
typeproduct for a row with a product, campaign for any other row, such as a campaign discount.
product_idThe product's id. null for a campaign row.
variation_idsThe ids of the row's variations. Empty if the row has none.
variation_erp_idsThe ERP ids of the row's variations, in the order of variation_ids.
variation_namesThe names of the row's variations as they were when the order was placed.
The product's current name in each language, from the product, not from the order. null if the row has no product.
base_priceThe unit price before discounts: the row's base price plus the base additional prices of its variations.
priceThe unit price after discounts, including the variations' prices.
amountThe ordered quantity.
total_priceprice times amount, rounded to 2 decimals.
codeThe product code when the order was placed.
ean_codedelivered_amountHow many units have been delivered.
bundle_main_productFor a row that is part of a product bundle, the id of the bundle's main order row. null otherwise.
erp_idThe product's ERP id when the order was placed.
vatThe VAT amount of one unit, calculated from price.
vat_percentThe VAT percentage.
category_idThe id of the category the product was ordered from. null if none is recorded.
The category's name in each language. null if the row has no category.
category_codeThe category's code. null if the row has no category.
extra_inputs_hrefThe URL of the row's extra inputs.
product_event_bookings_hrefThe URL of the row's event bookings.
OrderRowSummary
row_idThe order row's id. Use it with Get an order row.
typeproduct for a row with a product, campaign for any other row, such as a campaign discount.
product_idThe product's id. null for a campaign row.
variation_idsThe ids of the row's variations. Empty if the row has none.
variation_erp_idsThe ERP ids of the row's variations, in the order of variation_ids.
variation_namesThe names of the row's variations as they were when the order was placed.
The product's current name in each language, from the product, not from the order. null if the row has no product.
base_priceThe unit price before discounts: the row's base price plus the base additional prices of its variations.
priceThe unit price after discounts, including the variations' prices.
amountThe ordered quantity.
total_priceprice times amount, rounded to 2 decimals.
codeThe product code when the order was placed.
ean_codedelivered_amountHow many units have been delivered.
bundle_main_productFor a row that is part of a product bundle, the id of the bundle's main order row. null otherwise.
erp_idThe product's ERP id when the order was placed.
vatThe VAT amount of one unit, calculated from price.
vat_percentThe VAT percentage.
category_idThe id of the category the product was ordered from. null if none is recorded.
The category's name in each language. null if the row has no category.
category_codeThe category's code. null if the row has no category.
extra_inputs_hrefThe URL of the row's extra inputs.
product_event_bookings_hrefThe URL of the row's event bookings.
hrefThe URL of the order row.
OrderExtraInputGroup
idThe extra input group's id. null for inputs without a group.
Order
idnumberThe order number shown to the customer.
statusThe id of the order's current status. See List the statuses of an order for the status names.
notesThe customer's notes on the order.
reference_numberThe payment reference number.
tracking_codeThe delivery tracking code. An empty string if it has none.
created_atmodified_atpaid_atWhen the order was paid. null if it is not paid.
companyThe id of the company the order was placed for. null if none.
currencyprice_incl_taxThe order's total, VAT included.
price_excl_taxThe order's total without VAT.
base_priceThe total of the order's products, campaign discounts included.
prices_use_vatThe shop's setting for whether product prices include VAT, 1 or 0.
wished_delivery_dateThe delivery date the customer asked for. null if none.
The delivery method.
The payment method.
The customer who placed the order. Text fields are empty strings, never null, when a value is missing.
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.
The status history entries that have a comment. Empty if none.
The order's rows, newest first.
The order-level extra inputs, grouped by extra input group. Empty if none.
SummaryHref
hrefThe URL of the full resource.
OrderIn
tracking_codeThe delivery tracking code. null or an empty string clears it.
OrderStatus
idThe status's id, the same as status.
statusThe status's id.
parentThe id of the status's parent status. null if it has none.
next_statusThe id of the status that usually follows. null if none is set.
nameThe status's name in the shop's default language. null if it has no name in that language.
commentThe comment saved with the status change. An empty string if none.
changed_to_atWhen the order got this status.
OrderStatusIn
statusThe 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.
commentA comment saved with the status change. Send an empty string for no comment; null returns 400.
OrderedProduct
product_idThe product's id. null for a row that is not a product, such as a campaign row.
product_nameThe row's name as it was when the order was placed.
product_descriptionThe row's description. An empty string if it has none.
order_idaccount_idThe id of the customer account that placed the order.
timeWhen the order was placed.
OrderRow
idorder_iddescriptionThe row's description. An empty string if it has none.
inventory_priceThe product's inventory price when the order was placed.
The row's unit. Empty if the row has no unit.
The product's current tags. Empty if the product has none or the row has no product.
order_hrefThe URL of the order.
typeproduct for a row with a product, campaign for any other row, such as a campaign discount.
product_idThe product's id. null for a campaign row.
variation_idsThe ids of the row's variations. Empty if the row has none.
variation_erp_idsThe ERP ids of the row's variations, in the order of variation_ids.
variation_namesThe names of the row's variations as they were when the order was placed.
The product's current name in each language, from the product, not from the order. null if the row has no product.
base_priceThe unit price before discounts: the row's base price plus the base additional prices of its variations.
priceThe unit price after discounts, including the variations' prices.
amountThe ordered quantity.
total_priceprice times amount, rounded to 2 decimals.
codeThe product code when the order was placed.
ean_codedelivered_amountHow many units have been delivered.
bundle_main_productFor a row that is part of a product bundle, the id of the bundle's main order row. null otherwise.
erp_idThe product's ERP id when the order was placed.
vatThe VAT amount of one unit, calculated from price.
vat_percentThe VAT percentage.
category_idThe id of the category the product was ordered from. null if none is recorded.
The category's name in each language. null if the row has no category.
category_codeThe category's code. null if the row has no category.
extra_inputs_hrefThe URL of the row's extra inputs.
product_event_bookings_hrefThe URL of the row's event bookings.
OrderRowIn
descriptionThe row's description. null sets an empty string.
delivered_amountHow many units have been delivered. null sets 0.
OrderRowExtraInputBase
idThe 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.
extra_input_idThe extra input's id, see Get an extra input.
row_numberFor 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.
The input's label in each language. If the input has no translations, the label saved with the order, in the shop's language.
group_nameThe name of the input's extra input group. null if it has none.
group_idThe id of the input's extra input group. null if it has none.
basic_values_onlyfalse 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.
typeThe kind of value the input takes. Inputs of the "select, copy from payer" kind are reported as select.
OrderRowExtraInputSummary
idThe 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.
extra_input_idThe extra input's id, see Get an extra input.
row_numberFor 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.
The input's label in each language. If the input has no translations, the label saved with the order, in the shop's language.
group_nameThe name of the input's extra input group. null if it has none.
group_idThe id of the input's extra input group. null if it has none.
basic_values_onlyfalse 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.
typeThe kind of value the input takes. Inputs of the "select, copy from payer" kind are reported as select.
order_hrefThe URL of the order.
hrefThe URL of the value row.
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 isYYYY-MM-DD.boolean:trueorfalse.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 ownvalues. Ajsoninput with no child inputs hasnull.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
idThe 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.
extra_input_idThe extra input's id, see Get an extra input.
row_numberFor 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.
The input's label in each language. If the input has no translations, the label saved with the order, in the shop's language.
group_nameThe name of the input's extra input group. null if it has none.
group_idThe id of the input's extra input group. null if it has none.
basic_values_onlyfalse 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.
typeThe kind of value the input takes. Inputs of the "select, copy from payer" kind are reported as select.
order_hrefThe URL of the order.
valuesThe 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 isYYYY-MM-DD.boolean:trueorfalse.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 ownvalues. Ajsoninput with no child inputs hasnull.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.
OrderRowExtraInputIn
valuesThe 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 as2026-12-24; it is saved asYYYY-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.
ProductEventBooking
idbooking_valid_fromWhen the booked time starts.
booking_valid_toWhen the booked time ends.
capacity_usedHow many places the booking takes.
hrefThe URL of the booking.
PriceIn
product_idUpdates the product with this id.
variation_idUpdates the variation with this id.
codeUpdates every product whose product code is this value and every variation whose code is this value.
ean_codeUpdates every product and variation with this EAN code.
erp_idUpdates every product and variation with this ERP id.
priceThe product's base price, stored with 5 decimals. Products only.
suggested_retail_priceThe product's suggested retail price, stored with 5 decimals. Products only.
vatThe product's VAT percentage, stored with 2 decimals. Products only.
inventory_priceThe inventory price, stored with 2 decimals. Products and variations.
additional_priceThe variation's additional price on top of the product's price, stored with 2 decimals. Variations only.
PriceOut
idThe product's or the variation's id. Tell them apart by href.
codeThe product code or the variation code.
ean_codeerp_idpriceThe product's base price. null for a variation.
suggested_retail_priceThe product's suggested retail price. null for a variation.
inventory_pricevatThe product's VAT percentage. -1 means the product has no VAT of its own and uses its category's VAT. null for a variation.
additional_priceThe variation's additional price. null for a product.
hrefThe URL of the updated product or variation.
Language
A language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.
LocalizedName
languageA language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.
nameLocalizedUrl
languageA language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.
urlProductTag
The tag's names, or null if it has none.
idcodehiddenbrandWhether the tag is a brand.
hrefProductBase
idproduct_codeean_codecategoryThe id of the product's primary category.
The product's address in the store, per language.
imageThe URL of the product's default image, or an empty string if it has none.
teaser_imageThe URL of the product's teaser image, or an empty string if it has none.
base_priceThe product's base price.
base_price_with_vatThe base price with VAT for role 1, as the shop has computed it. null if not computed.
base_price_no_vatThe base price without VAT for role 1, as the shop has computed it. null if not computed.
discount_priceThe lowest price of the discounts active now for role 1, or null if no discount is active.
msrpThe suggested retail price. Same value as suggested_retail_price in a single product.
inventory_pricecurrencyThe shop's currency.
stockstock_alertThe stock level at which the shop alerts about low stock. null means the alert is turned off.
hiddenWhether the product is hidden from the store.
created_atmodified_aterp_idThe product's variations, in their display order. Deleted variations are left out.
ProductSummary
idproduct_codeean_codecategoryThe id of the product's primary category.
The product's address in the store, per language.
imageThe URL of the product's default image, or an empty string if it has none.
teaser_imageThe URL of the product's teaser image, or an empty string if it has none.
base_priceThe product's base price.
base_price_with_vatThe base price with VAT for role 1, as the shop has computed it. null if not computed.
base_price_no_vatThe base price without VAT for role 1, as the shop has computed it. null if not computed.
discount_priceThe lowest price of the discounts active now for role 1, or null if no discount is active.
msrpThe suggested retail price. Same value as suggested_retail_price in a single product.
inventory_pricecurrencyThe shop's currency.
stockstock_alertThe stock level at which the shop alerts about low stock. null means the alert is turned off.
hiddenWhether the product is hidden from the store.
created_atmodified_aterp_idThe product's variations, in their display order. Deleted variations are left out.
hrefThe URL of the full resource.
ProductList
SecondaryCategoryInput
idThe category's id.
positionThe category's position among the product's secondary categories. Must not be 0.
LocalizedDescription
languageA language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.
descriptionLocalizedTeaser
languageA language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.
teaserLocalizedAbbreviation
languageA language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.
abbreviationLocalizedHtmlContent
languageA language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.
html_contentProductInputFields
product_codeean_codeerp_idsupplier_codemanufacturer_namemanufacturer_idThe manufacturer's code for the product.
base_priceinventory_pricemsrpThe suggested retail price. Same as suggested_retail_price; send only one of them.
suggested_retail_priceThe suggested retail price. Same as msrp.
vat_percentA 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.
use_default_vat_percenttrue 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.
stockstock_alertThe stock level at which the shop alerts about low stock. null turns the alert off.
hiddenvisible_out_of_stockbuyable_out_of_stockis_newis_popularis_best_offeris_pre_saleWhether the product is shown, for pre-sale, before availability_begins.
is_promotion_allowedis_product_of_weekstore_onlyWhether the product is only displayed and can't be bought.
price_hiddendelivery_cost_unitdelivery_time_in_daysmin_order_qtymax_order_qtyavailability_beginsAn ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no start.
availability_endsAn ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no end.
extra_input_groupThe id of an existing extra input group, or null for none. An unknown id returns 400.
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.
ProductCreate
categoryThe id of the primary category. An unknown category returns 400.
The product's names. Each entry needs a non-empty name.
tagsIds of existing tags to add to the product. An unknown id returns 400.
product_codeean_codeerp_idsupplier_codemanufacturer_namemanufacturer_idThe manufacturer's code for the product.
base_priceinventory_pricemsrpThe suggested retail price. Same as suggested_retail_price; send only one of them.
suggested_retail_priceThe suggested retail price. Same as msrp.
vat_percentA 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.
use_default_vat_percenttrue 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.
stockstock_alertThe stock level at which the shop alerts about low stock. null turns the alert off.
hiddenvisible_out_of_stockbuyable_out_of_stockis_newis_popularis_best_offeris_pre_saleWhether the product is shown, for pre-sale, before availability_begins.
is_promotion_allowedis_product_of_weekstore_onlyWhether the product is only displayed and can't be bought.
price_hiddendelivery_cost_unitdelivery_time_in_daysmin_order_qtymax_order_qtyavailability_beginsAn ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no start.
availability_endsAn ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no end.
extra_input_groupThe id of an existing extra input group, or null for none. An unknown id returns 400.
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.
LocalizedSpecification
languageA language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.
specificationSecondaryCategory
idThe category's id.
positionThe category's position among the product's secondary categories.
hrefProductDescriptionEmbedded
namelanguageA language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.
labeldescriptionvisible_in_listvisible_in_productvisible_in_emailhrefProductPropertyType
ItemProperty
idThe id of the property on this product or variation.
property_idThe id of the property.
The property's names.
typeThe selected options, highest id first.
BundleProduct
idThe bundled product's id.
product_codeamountvariationThe id of the bundled variation, or null.
coupledcoupled_product_is_freeuse_bundle_priceProductDetails
vat_percentThe 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).
use_default_vat_percentWhether the product uses the shop's default VAT percent.
supplier_codeThe product's specifications. Read-only in this API.
visible_out_of_stockWhether the product is shown in the store when it's out of stock.
buyable_out_of_stockWhether customers can buy the product when it's out of stock.
is_newis_popularis_best_offeris_pre_saleWhether the product is shown, for pre-sale, before availability_begins.
is_promotion_allowedWhether the product may be promoted.
is_product_of_weekstore_onlyWhether the product is only displayed and can't be bought.
delivery_cost_unitThe product's delivery cost unit (DCU).
availability_beginsWhen the product becomes available, or null if there is no start.
availability_endsWhen the product stops being available, or null if there is no end.
suggested_retail_priceThe suggested retail price. Same value as msrp.
min_order_qtymax_order_qtyextra_input_groupThe id of the product's extra input group, or null.
manufacturer_namemanufacturer_idThe manufacturer's code for the product.
delivery_time_in_daysprice_hiddenWhether the price is hidden in the store.
The product's secondary categories, ordered by position.
The product's compatible products. Deleted products are left out.
The product's extra descriptions, newest first. Manage them with List product descriptions and related endpoints.
The products sold in a bundle with this product.
Product
idproduct_codeean_codecategoryThe id of the product's primary category.
The product's address in the store, per language.
imageThe URL of the product's default image, or an empty string if it has none.
teaser_imageThe URL of the product's teaser image, or an empty string if it has none.
base_priceThe product's base price.
base_price_with_vatThe base price with VAT for role 1, as the shop has computed it. null if not computed.
base_price_no_vatThe base price without VAT for role 1, as the shop has computed it. null if not computed.
discount_priceThe lowest price of the discounts active now for role 1, or null if no discount is active.
msrpThe suggested retail price. Same value as suggested_retail_price in a single product.
inventory_pricecurrencyThe shop's currency.
stockstock_alertThe stock level at which the shop alerts about low stock. null means the alert is turned off.
hiddenWhether the product is hidden from the store.
created_atmodified_aterp_idThe product's variations, in their display order. Deleted variations are left out.
vat_percentThe 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).
use_default_vat_percentWhether the product uses the shop's default VAT percent.
supplier_codeThe product's specifications. Read-only in this API.
visible_out_of_stockWhether the product is shown in the store when it's out of stock.
buyable_out_of_stockWhether customers can buy the product when it's out of stock.
is_newis_popularis_best_offeris_pre_saleWhether the product is shown, for pre-sale, before availability_begins.
is_promotion_allowedWhether the product may be promoted.
is_product_of_weekstore_onlyWhether the product is only displayed and can't be bought.
delivery_cost_unitThe product's delivery cost unit (DCU).
availability_beginsWhen the product becomes available, or null if there is no start.
availability_endsWhen the product stops being available, or null if there is no end.
suggested_retail_priceThe suggested retail price. Same value as msrp.
min_order_qtymax_order_qtyextra_input_groupThe id of the product's extra input group, or null.
manufacturer_namemanufacturer_idThe manufacturer's code for the product.
delivery_time_in_daysprice_hiddenWhether the price is hidden in the store.
The product's secondary categories, ordered by position.
The product's compatible products. Deleted products are left out.
The product's extra descriptions, newest first. Manage them with List product descriptions and related endpoints.
The products sold in a bundle with this product.
ProductUpdate
categoryThe 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.
Names to add or change, per language. A language the product has no name for yet needs a non-empty name.
product_codeean_codeerp_idsupplier_codemanufacturer_namemanufacturer_idThe manufacturer's code for the product.
base_priceinventory_pricemsrpThe suggested retail price. Same as suggested_retail_price; send only one of them.
suggested_retail_priceThe suggested retail price. Same as msrp.
vat_percentA 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.
use_default_vat_percenttrue 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.
stockstock_alertThe stock level at which the shop alerts about low stock. null turns the alert off.
hiddenvisible_out_of_stockbuyable_out_of_stockis_newis_popularis_best_offeris_pre_saleWhether the product is shown, for pre-sale, before availability_begins.
is_promotion_allowedis_product_of_weekstore_onlyWhether the product is only displayed and can't be bought.
price_hiddendelivery_cost_unitdelivery_time_in_daysmin_order_qtymax_order_qtyavailability_beginsAn ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no start.
availability_endsAn ISO 8601 date-time, read as the shop's local time (an offset is ignored), or null for no end.
extra_input_groupThe id of an existing extra input group, or null for none. An unknown id returns 400.
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.
LocalizedTitle
languageA language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.
titleProductAttachment
idcreated_atmodified_atpublic_linkThe attachment's download URL. Anyone with the link can download the file.
positionhrefProductAttachmentList
ProductAttachmentUpdate
positionTitles to add or change. A language the attachment has no title for yet needs a non-empty title.
ProductAttachmentUpload
file_url_pathThe file's http(s):// URL on a public host.
positionThe attachment's position. 0 or omitted puts it after the product's other attachments.
The attachment's titles. If omitted, the title is the stored file name, in the shop's default language.
AttachmentBase64Upload
base64The 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.
ProductVariation
iderp_idproduct_idadditional_priceThe amount added to the product's price.
stockgroup_idThe id of the variation's group.
colorsizetypeimageThe variation's image source, as stored.
variation_codeean_codehiddenpositionvisible_out_of_stockbuyable_out_of_stockcreated_atmodified_athrefProductVariationCreate
group_idThe id of an existing variation group. An unknown id returns 400.
stockThe variation's names. Each entry needs a non-empty name.
additional_pricevariation_codeean_codeerp_idcolorsizeimageThe variation's image as an http(s):// URL on a public host. A URL whose host is in a private network returns 400.
positionThe variation's position. 0 or omitted puts it last.
hiddenvisible_out_of_stockbuyable_out_of_stockProductDescriptionSummary
idnamelanguageA language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.
labeldescriptionhrefProductDescriptionList
ProductDescriptionUpdate
languageA 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.
nameRequired when you add a description. Can't be null.
labeldescriptionvisible_in_listvisible_in_productvisible_in_emailProductDescriptionCreate
languageA 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.
nameRequired when you add a description. Can't be null.
labeldescriptionvisible_in_listvisible_in_productvisible_in_emailProductDescriptionVisibility
visible_in_listWhether the description is shown in product lists.
visible_in_productWhether the description is shown on the product page.
visible_in_emailWhether the description is shown in emails.
ProductDescription
idnamelanguageA language code of the shop, such as FI or EN. In requests, entries for languages the shop doesn't use are ignored.
labeldescriptionhrefvisible_in_listWhether the description is shown in product lists.
visible_in_productWhether the description is shown on the product page.
visible_in_emailWhether the description is shown in emails.
CompatibleProductInput
product_idproduct_codeean_codeerp_idProductImage
idlinkThe image's public URL.
is_defaultWhether this is the product's default image.
is_teaserWhether this is the product's teaser image.
positionhrefProductImageList
ProductImageUpdate
is_defaulttrue makes this the product's default image. false removes it as the default image if it is one.
is_teasertrue makes this the product's teaser image. false removes it as the teaser image if it is one.
positionTitles to add or change. A language the image has no title for yet needs a non-empty title.
ProductImageUpload
file_url_pathWhere 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.
is_defaulttrue makes the image the product's default image.
is_teasertrue makes the image the product's teaser image.
positionThe image's position. 0 or omitted puts it after the product's other images.
The image's titles. If omitted, the title is the stored file name, in the shop's default language.
ImageBase64Upload
base64The 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.
ProductPropertyList
ProductPropertyCreate
property_idThe 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.
option_idsIds 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.
ProductPropertyUpdate
option_idsThe 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.
ProductStock
stockreservedThe quantity reserved by open orders.
soldreturnedsold_elsewherereturned_elsewherestock_history_hrefStockHistoryEntry
idcommentThe name of the change type, per language. Empty if the change has no type.
stock_changeHow much the stock changed.
stockThe stock after the change.
order_idThe order that changed the stock, or null.
The name of the order's status at the time, per language. Empty if there is no order status.
order_hrefThe order's URL, or null if order_id is null.
created_atStockHistoryList
PropertyType
The property's value type. boolean, option_group, numeric, date and datetime values are not localized; the others are.
PropertyName
languageThe language code, in upper case. Elements for languages the shop doesn't use are ignored.
namePropertyBase
idThe property's name per language, or null if it has none.
codeYour own code for the property, or an empty string.
property_of_productWhether products can have the property.
property_of_variationWhether variations can have the property.
typeThe property's value type. boolean, option_group, numeric, date and datetime values are not localized; the others are.
publicWhether the property is shown to customers.
filterWhether customers can filter products by the property.
multichoiceWhether a product or variation can have more than one of the property's options.
PropertyCategory
idThe category's name per language; an empty array if it has none.
hrefThe URL of the category.
PropertySummary
idThe property's name per language, or null if it has none.
codeYour own code for the property, or an empty string.
property_of_productWhether products can have the property.
property_of_variationWhether variations can have the property.
typeThe property's value type. boolean, option_group, numeric, date and datetime values are not localized; the others are.
publicWhether the property is shown to customers.
filterWhether customers can filter products by the property.
multichoiceWhether a product or variation can have more than one of the property's options.
The categories that use the property: its own category and the categories that inherit properties from it. null when default_property is true.
default_propertyWhether the property is one of the shop's default properties.
hrefThe URL of the property.
PropertyUserHelp
languageThe language code, in upper case. Elements for languages the shop doesn't use are ignored.
user_helpPropertyPostIn
The property's name per language. Each element needs a non-empty name.
typeThe property's value type. boolean, option_group, numeric, date and datetime values are not localized; the others are.
category_idThe category to create the property in. It must exist and not be deleted.
codeYour own code for the property.
property_of_productWhether products can have the property. If you send neither this nor property_of_variation, the property is for products.
property_of_variationWhether variations can have the property.
multichoiceWhether a product or variation can have more than one option. Can't be true for boolean.
publicfilterdefault_propertypositionThe sort position. If you leave it out, the property gets the next free number.
Help texts for the shop's admin users per language.
PropertyOptionName
languagenameThe 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.
Property
idThe property's name per language, or null if it has none.
codeYour own code for the property, or an empty string.
property_of_productWhether products can have the property.
property_of_variationWhether variations can have the property.
typeThe property's value type. boolean, option_group, numeric, date and datetime values are not localized; the others are.
publicWhether the property is shown to customers.
filterWhether customers can filter products by the property.
multichoiceWhether a product or variation can have more than one of the property's options.
category_idThe id of the category the property was created in.
The categories that use the property: its own category and the categories that inherit properties from it. null when default_property is true.
default_propertyWhether the property is one of the shop's default properties.
Help texts for the shop's admin users per language, or null if there are none.
positionThe property's sort position.
created_atmodified_atWhen the property or one of its options was last changed.
The property's options; an empty array if it has none.
PropertyResponse
hrefThe URL of the request.
The property, as the only element.
PropertyPutIn
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.
codepublicfilterdefault_propertypositionHelp texts to add or change, one element per language.
OptionLocalizedValuesIn
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
OptionNumericIn
valueOptionIn
Decision Table
| Variant | Matching Criteria |
|---|---|
| type = object · requires: values | |
| type = object · requires: values | |
| type = object · requires: value |
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
hrefThe URL of the request.
The option, as the only element.
RoleLabel
languageThe language code, in upper case. Elements for languages the shop doesn't use are ignored.
labelRoleDescription
languageThe language code, in upper case. Elements for languages the shop doesn't use are ignored.
descriptionRoleSummary
idnameThe role's internal name.
The display name per language, or null if the role has none.
The description per language, or null if the role has none.
hrefThe URL of the role.
RolePostIn
nameThe role's internal name.
The display name per language. Each element needs a non-empty label.
codeYour own code for the role. null sets an empty string.
The description per language.
Role
idnameThe role's internal name.
The display name per language, or null if the role has none.
The description per language, or null if the role has none.
codeYour own code for the role, or an empty string.
RoleResponse
hrefThe URL of the request.
The role, as the only element.
RolePutIn
nameThe role's internal name.
codeYour own code for the role. null sets an empty string.
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.
Descriptions to add or change, one element per language.
StockIn
stockThe new stock quantity.
codeMatches products by product code and variations by variation code.
ean_codeMatches products and variations by EAN code.
erp_idMatches products and variations by ERP id.
product_idMatches the product with this id.
variation_idMatches the variation with this id.
NotFound
The request elements that updated nothing, as {"<identifier>": <value as sent>}. Present only when some elements matched and some didn't.
StockOut
stockThe 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.
idThe id of the product or variation.
codeThe product code or variation code, or an empty string.
ean_codeThe EAN code, or an empty string.
erp_idThe ERP id, or an empty string.
hrefThe URL of the updated product (/products/{id}) or variation (/variations/{id}). It tells you which kind was updated.
StocksOut
hrefThe URL of the request.
The request elements that updated nothing, as {"<identifier>": <value as sent>}. Present only when some elements matched and some didn't.
The updated products and variations.
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.
ProductStockAlertIn
product_idstock_alertThe 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.
StockAlertOut
stock_alertThe 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.
idThe id of the product or variation.
hrefThe URL of the product or variation.
StockAlertsOut
hrefThe URL of the request.
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.
VariationStockAlertIn
variation_idstock_alertThe 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.
TagName
languageThe language code, in upper case. Elements for languages the shop doesn't use are ignored.
nameTagSummary
The tag's name per language, or null if it has none.
codeYour own code for the tag, or an empty string.
hiddenWhether the tag is hidden in the shop.
brandWhether the tag is a brand.
hrefThe URL of the tag. List items have no id; the id is the last part of this URL.
TagDescription
languageThe language code, in upper case. Elements for languages the shop doesn't use are ignored.
descriptionTagPostIn
The tag's name per language. Each element needs a non-empty name.
The tag's description per language.
codeYour own code for the tag.
hiddenbrandtypeA free-text type that groups tags.
imageThe file name of an image in the shop. The API stores the value as given; it doesn't upload or check the image.
content_imageThe file name of an image in the shop. The API stores the value as given; it doesn't upload or check the image.
show_in_menupositionhide_productsTag
idThe tag's name per language, or null if it has none.
codeYour own code for the tag, or an empty string.
hiddenWhether the tag is hidden in the shop.
brandWhether the tag is a brand.
typeA free-text type that groups tags, or an empty string.
imageThe file name of the tag's image in the shop, or an empty string.
content_imageThe file name of the tag's content image in the shop, or an empty string.
The tag's description per language, or null if it has none.
created_atmodified_atWhen the tag was last changed, or null if it never has been.
show_in_menuWhether the tag is shown in the shop's menu.
positionThe tag's sort position.
hide_productsWhether products that have this tag are hidden in the shop.
TagResponse
hrefThe URL of the request.
The tag, as the only element.
TagPutIn
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.
Descriptions to add or change, one element per language.
codeYour own code for the tag.
hiddenbrandtypeA free-text type that groups tags.
imageThe file name of an image in the shop. The API stores the value as given; it doesn't upload or check the image.
content_imageThe file name of an image in the shop. The API stores the value as given; it doesn't upload or check the image.
show_in_menupositionhide_productsVariationName
languageThe language code, in upper case. Elements for languages the shop doesn't use are ignored.
nameVariationDescription
languageThe language code, in upper case. Elements for languages the shop doesn't use are ignored.
descriptionVariationBase
iderp_idThe variation's id in your ERP, or an empty string.
product_idThe product the variation belongs to.
variation_codeThe variation's code (SKU), or an empty string.
ean_codeThe EAN code, or an empty string.
group_idThe variation group the variation belongs to.
hiddenWhether the variation is hidden in the shop.
The variation's name per language, or null if it has none.
The variation's description per language, or null if it has none.
additional_priceThe amount added to the product's price for this variation.
positionThe variation's sort position.
stockvisible_out_of_stockWhether the variation is shown when it is out of stock.
buyable_out_of_stockWhether the variation can be bought when it is out of stock.
created_atmodified_atVariationSummary
iderp_idThe variation's id in your ERP, or an empty string.
product_idThe product the variation belongs to.
variation_codeThe variation's code (SKU), or an empty string.
ean_codeThe EAN code, or an empty string.
group_idThe variation group the variation belongs to.
hiddenWhether the variation is hidden in the shop.
The variation's name per language, or null if it has none.
The variation's description per language, or null if it has none.
additional_priceThe amount added to the product's price for this variation.
positionThe variation's sort position.
stockvisible_out_of_stockWhether the variation is shown when it is out of stock.
buyable_out_of_stockWhether the variation can be bought when it is out of stock.
created_atmodified_athrefThe URL of the variation.
VariationPropertyValue
idThe option's id.
The option's value per language; an empty array if it has none.
VariationProperty
idThe id of this property value of the variation. Use it in /variations/{variation-id}/properties/{id}.
property_idThe property's id.
The property's name per language; an empty array if it has none.
typeThe property's type.
The property options the variation has, newest option first.
Variation
iderp_idThe variation's id in your ERP, or an empty string.
product_idThe product the variation belongs to.
variation_codeThe variation's code (SKU), or an empty string.
ean_codeThe EAN code, or an empty string.
group_idThe variation group the variation belongs to.
hiddenWhether the variation is hidden in the shop.
The variation's name per language, or null if it has none.
The variation's description per language, or null if it has none.
additional_priceThe amount added to the product's price for this variation.
positionThe variation's sort position.
stockvisible_out_of_stockWhether the variation is shown when it is out of stock.
buyable_out_of_stockWhether the variation can be bought when it is out of stock.
created_atmodified_atcolorThe variation's color code, or an empty string.
sizeThe variation's size, or an empty string.
typeAn empty string or string.
The variation's property values; an empty array if it has none.
VariationResponse
hrefThe URL of the request.
The variation, as the only element.
VariationPutIn
product_idMoves the variation to this product. The product must exist and not be deleted, else 400.
group_idThe variation group. It must exist and not be deleted, else 400.
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.
Descriptions to add or change, one element per language.
additional_pricestockcolorThe color code. The shop may store it as a mapped color code if it has a color mapping for the product's supplier.
sizeThe size. The shop may store it as a mapped size if it has a size mapping for the product's supplier.
typeAn empty string or string; any other value returns 400.
erp_idvariation_codeean_codehiddenpositionThe sort position. 0 is ignored.
visible_out_of_stockbuyable_out_of_stockVariationPropertyPostIn
property_idThe property to set.
option_idsThe 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.
VariationPropertyResponse
hrefThe URL of the request.
The property value, as the only element.
VariationPropertyPutIn
option_idsThe 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.
VariationStock
stockThe stock quantity.
reservedThe reserved quantity.
soldsold_elsewherereturnedreturned_elsewherestock_history_hrefThe URL of the variation's stock history.
VariationStockHistoryEntry
idcommentA free-text comment, or an empty string. Changes made through POST /stocks have REST API.
The kind of change per language, such as Sale or Change; an empty array if it has none.
stock_changeHow much the stock changed; negative for a decrease.
stockThe stock after the change.
order_idThe order that caused the change, or null.
order_hrefThe URL of that order, or null.
created_atVariationGroupName
languageThe language code, in upper case. Elements for languages the shop doesn't use are ignored.
nameVariationGroup
idThe group's name per language, or null if it has none.
codeYour own code for the group, or an empty string.
requiredWhether choosing a variation from this group is required.
positionThe group's sort position.
hide_product_if_no_stockWhether a product is hidden in the shop when none of its variations in this group is in stock.
VariationGroupSummary
idThe group's name per language, or null if it has none.
codeYour own code for the group, or an empty string.
requiredWhether choosing a variation from this group is required.
positionThe group's sort position.
hide_product_if_no_stockWhether a product is hidden in the shop when none of its variations in this group is in stock.
hrefThe URL of the variation group.
VariationGroupPostIn
The group's name per language. Each element needs a non-empty name.
coderequiredpositionThe group's sort position. If you leave it out or send 0, the group gets 999.
hide_product_if_no_stockVariationGroupResponse
hrefThe URL of the request.
The variation group, as the only element.
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.
coderequiredpositionhide_product_if_no_stockVariationImageTitle
languageThe language code, in upper case. Elements for languages the shop doesn't use are ignored.
titleVariationImageDescription
languageThe language code, in upper case. Elements for languages the shop doesn't use are ignored.
descriptionVariationImage
idThe image's title per language, or null if it has none.
linkThe image's public URL.
is_defaultWhether the image is the variation's main image.
is_teaserWhether the image is the variation's teaser image.
The image's description per language, or null if it has none.
positionThe image's sort position.
hrefThe URL of the image in the API.
VariationImageResponse
hrefThe URL of the request.
The image, as the only element.
VariationImagePutIn
is_defaulttrue makes this the variation's main image; false clears the main image if it is this one.
is_teasertrue makes this the variation's teaser image; false clears the teaser image if it is this one.
positionTitles 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_pathAn 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.
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_defaultMakes the image the variation's main image.
is_teaserMakes the image the variation's teaser image.
positionThe sort position. If you leave it out or send 0, the image goes last.
VariationImageBase64Upload
base64The image file, base64-encoded. JPEG, PNG, GIF, TIFF and BMP are accepted; anything else is 400.