Базов адрес

https://enotale.bg/api/v1

Версия: 1.0.0. OpenAPI документ (JSON)

Съдържание на страницата

Catalog#

Public wine, winery and search data. No credential needed.

GET /reference

Filter vocabulary#

The codes the `/wines` filters accept: colors, varieties, regions and subregions, origin scopes, sweetness classes, price buckets and sort options.

Достъп

Публична точка, без токен

Отговори

Код Описание Вид на отговора
200 The vocabulary. { data: Reference }
429 Rate limit reached; wait for `Retry-After` seconds. Limits are on https://enotale.bg/docs/api. Error
503 The API is switched off. Error
GET /wines

Search and list wines#

Same filter engine as the storefront catalog. 12 wines per page. `price` on a card is per bottle; wines are bought in packs, so use `minimum_pack` for the smallest orderable total. `meta.facet_counts` counts the filtered result per filter value, keyed by the values the filters accept. A free-text search with no result adds `meta.hints`. Delivery is charged per winery, not per wine.

Достъп

Публична точка, без токен

Параметри

Име Къде Вид Задължително Описание
q в заявката string не Free-text search in Cyrillic or Latin: matches the wine name and its name in the other script, grape varieties, winery, vineyard and village, and the wine texts. Words shorter than 3 letters are ignored.
color в заявката string не Comma-separated color codes (OR): red, white, rose, orange, claret. Sparkling is not a color: use `sparkling`.
sparkling в заявката boolean не Only sparkling wines (any color).
style в заявката string не Set to `natural` for natural wines only.
sweetness в заявката string не Comma-separated sweetness codes (OR) from `/reference`, for example DRY, SEMI_DRY, SWEET.
region в заявката string не Comma-separated region aliases (OR) from `/reference`, for example danubian, thracian.
subregion в заявката string не Comma-separated subregion slugs (OR) from `/reference`.
variety в заявката string не Comma-separated grape variety canonical names (OR) from `/reference`, for example MAVRUD, MERLOT.
origin в заявката string не Comma-separated grape origin scopes (OR): single_vineyard, single_village, multi_village, regional.
price в заявката string не Comma-separated price bucket keys (OR): u15, 15-25, 25-40, o40.
winery в заявката string не Comma-separated winery slugs (OR).
sort в заявката string не new (default), price_asc or price_desc.
page в заявката integer не 1-based page number.

Отговори

Код Описание Вид на отговора
200 A page of wine cards. { data: WineCard[], links: object, meta: object }
429 Rate limit reached; wait for `Retry-After` seconds. Limits are on https://enotale.bg/docs/api. Error
503 The API is switched off. Error
GET /wines/{slug}

One wine with its active vintage and packs#

`active_vintage.packs` lists what can be ordered; take `pack_id` from there for `POST /me/cart/items`. 404 for an unknown or unreachable slug.

Достъп

Публична точка, без токен

Параметри

Име Къде Вид Задължително Описание
slug в адреса string да The public slug from a list response.

Отговори

Код Описание Вид на отговора
200 The wine. { data: Wine }
404 Unknown slug. Error
429 Rate limit reached; wait for `Retry-After` seconds. Limits are on https://enotale.bg/docs/api. Error
503 The API is switched off. Error
GET /wineries

List wineries#

Ordered by name. 24 per page by default, at most 50.

Достъп

Публична точка, без токен

Параметри

Име Къде Вид Задължително Описание
region в заявката string не A region alias from `/reference`, for example danubian.
per_page в заявката integer не Page size, 1 to 50 (default 24).
page в заявката integer не 1-based page number.

Отговори

Код Описание Вид на отговора
200 A page of winery cards. { data: WineryCard[], links: object, meta: object }
429 Rate limit reached; wait for `Retry-After` seconds. Limits are on https://enotale.bg/docs/api. Error
503 The API is switched off. Error
GET /wineries/{slug}

One winery#

`delivery_fee` is charged once per winery in an order. A paused winery keeps its page; check `buyable`.

Достъп

Публична точка, без токен

Параметри

Име Къде Вид Задължително Описание
slug в адреса string да The public slug from a list response.

Отговори

Код Описание Вид на отговора
200 The winery. { data: Winery }
404 Unknown slug. Error
429 Rate limit reached; wait for `Retry-After` seconds. Limits are on https://enotale.bg/docs/api. Error
503 The API is switched off. Error

Account#

The signed-in buyer's profile and address book.

GET /me

The signed-in buyer#

Identity, saved cards (`saved_cards[].id` is the `card_token_id` for an order) and `api_purchasing`: whether this buyer may grant the purchase right and what the presented credential may do. A 401 carries `WWW-Authenticate` with the RFC 9728 `resource_metadata` address where OAuth is enabled.

Достъп

Токен на купувача

Отговори

Код Описание Вид на отговора
200 The buyer. { data: Me }
401 No valid credential. The `WWW-Authenticate` header names the protected-resource metadata where OAuth is enabled. Error
403 The credential lacks the scope, the buyer has no right for this action, or the buyer is blocked from API access. Error
429 Rate limit reached; wait for `Retry-After` seconds. Limits are on https://enotale.bg/docs/api. Error
503 The API is switched off. Error
GET /me/addresses

The buyer's address book#

`id` is the `user_address_id` for an order.

Достъп

Токен на купувача

Отговори

Код Описание Вид на отговора
200 The saved addresses. { data: Address[] }
401 No valid credential. The `WWW-Authenticate` header names the protected-resource metadata where OAuth is enabled. Error
403 The credential lacks the scope, the buyer has no right for this action, or the buyer is blocked from API access. Error
429 Rate limit reached; wait for `Retry-After` seconds. Limits are on https://enotale.bg/docs/api. Error
503 The API is switched off. Error

Cart#

The buyer's one cart, shared with the storefront.

GET /me/cart

The cart#

Groups by winery. `checkout_url` is where the buyer pays on the site; hand it over when the credential cannot place orders.

Достъп

Токен на купувача

Отговори

Код Описание Вид на отговора
200 The cart. { data: Cart }
401 No valid credential. The `WWW-Authenticate` header names the protected-resource metadata where OAuth is enabled. Error
403 The credential lacks the scope, the buyer has no right for this action, or the buyer is blocked from API access. Error
429 Rate limit reached; wait for `Retry-After` seconds. Limits are on https://enotale.bg/docs/api. Error
503 The API is switched off. Error
POST /me/cart/items

Add a pack to the cart#

Send `pack_id` (a bottle pack from a wine response) or `tasting_pack_id`, with an optional `count` (1 to 99, default 1). The quantity rules of the storefront apply, so a wine below its minimum number of bottles is refused with 422. Closed with online sales: 503.

Достъп

Токен на купувача

Тяло на заявката (JSON)

Име Вид Задължително Описание
pack_id integer | null не A bottle pack: `active_vintage.packs[].id` from `GET /wines/{slug}`. Required unless `tasting_pack_id` is sent.
tasting_pack_id integer | null не A tasting pack id. Required unless `pack_id` is sent.
count integer | null не How many of the pack to add (1 to 99). Default 1.

Отговори

Код Описание Вид на отговора
201 The cart after the change. { data: Cart }
422 Validation failed; `errors` maps each field to its messages. ValidationError
401 No valid credential. The `WWW-Authenticate` header names the protected-resource metadata where OAuth is enabled. Error
403 The credential lacks the scope, the buyer has no right for this action, or the buyer is blocked from API access. Error
429 Rate limit reached; wait for `Retry-After` seconds. Limits are on https://enotale.bg/docs/api. Error
503 The API surface is switched off, or online sales are closed. Error
DELETE /me/cart/items/{item}

Remove a cart line#

Idempotent. Closed with online sales: 503.

Достъп

Токен на купувача

Параметри

Име Къде Вид Задължително Описание
item в адреса integer да The `item_id` of a cart line.

Отговори

Код Описание Вид на отговора
200 The cart after the change. { data: Cart }
401 No valid credential. The `WWW-Authenticate` header names the protected-resource metadata where OAuth is enabled. Error
403 The credential lacks the scope, the buyer has no right for this action, or the buyer is blocked from API access. Error
429 Rate limit reached; wait for `Retry-After` seconds. Limits are on https://enotale.bg/docs/api. Error
503 The API surface is switched off, or online sales are closed. Error

Orders#

Order history and the two-phase order placement.

GET /me/orders

Order history#

Newest first, 10 per page. Orders still awaiting payment on the site are not listed.

Достъп

Токен на купувача

Параметри

Име Къде Вид Задължително Описание
page в заявката integer не 1-based page number.

Отговори

Код Описание Вид на отговора
200 A page of orders. { data: OrderSummary[], links: object, meta: object }
401 No valid credential. The `WWW-Authenticate` header names the protected-resource metadata where OAuth is enabled. Error
403 The credential lacks the scope, the buyer has no right for this action, or the buyer is blocked from API access. Error
429 Rate limit reached; wait for `Retry-After` seconds. Limits are on https://enotale.bg/docs/api. Error
503 The API is switched off. Error
POST /me/orders

Place the cart as an order (two phases)#

Needs the `orders:place` scope. Phase 1: send the delivery data without `confirmation_code`; the answer is 200 with a summary and a one-time code, and nothing is created. Show the summary to the buyer and wait for an explicit yes. Phase 2: send the same body plus the value of `confirmation.code` as `confirmation_code`. 202: the order exists and the saved card is being charged; read `payment.status` on the order afterwards. 201: the order exists but was NOT charged (the total is above the credential's cap, or the card could not be used); give the buyer `placement.pay_url`. 200 with a new summary and code: the cart, a price, the address or the total changed since phase 1; confirm again. Delivery: send `user_address_id`, or `recipient_name`, `phone` and `city` with either `street` and `postcode` or `speedy_office_id`. 403 when the credential cannot place orders (the message says what the buyer must do) or the buyer has not accepted the current terms.

Достъп

Токен на купувача с обхват orders:place

Тяло на заявката (JSON)

Име Вид Задължително Описание
confirmation_code string не Absent in phase 1. In phase 2: the code from the phase-1 answer.
user_address_id integer не A saved address from `/me/addresses`. Replaces the manual delivery fields.
recipient_name string не Required without `user_address_id`.
phone string не Required without `user_address_id`; a Bulgarian phone number.
street string не Required without `user_address_id` and `speedy_office_id`.
city string не Required without `user_address_id`.
postcode string не Four digits. Required without `user_address_id` and `speedy_office_id`.
speedy_site_id integer не Courier city id, for an office pick-up.
speedy_office_id integer не Courier office id; replaces `street` and `postcode`.
card_token_id integer не A saved card from `/me`. Default: the most recently used active card.
invoice_requested boolean не When true the `invoice_*` fields below are required except `invoice_vat_number`.
invoice_company string не Company name.
invoice_eik string не Valid Bulgarian EIK.
invoice_vat_number string не Optional VAT number.
invoice_mol string не Accountable person.
invoice_address string не Registered address.
invoice_city string не Registered city.

Отговори

Код Описание Вид на отговора
200 Phase 1 summary, or a new summary after something changed: confirm again. OrderConfirmationRequired
201 The order exists and is NOT charged: over the cap or the card could not be used. `placement.pay_url` is where the buyer pays. OrderPlaced
202 The order exists and the card charge is in progress. Read `payment.status` on the order. OrderPlaced
422 Validation failed; `errors` maps each field to its messages. ValidationError
401 No valid credential. The `WWW-Authenticate` header names the protected-resource metadata where OAuth is enabled. Error
403 The credential lacks the scope, the buyer has no right for this action, or the buyer is blocked from API access. Error
429 Rate limit reached; wait for `Retry-After` seconds. Limits are on https://enotale.bg/docs/api. Error
503 The API surface is switched off, or online sales are closed. Error
GET /me/orders/{order}

One order with its sub-orders, shipments and payment status#

After placing an order, poll `payment.status`: charging, then paid or failed. Another buyer's order is 404.

Достъп

Токен на купувача

Параметри

Име Къде Вид Задължително Описание
order в адреса string да The public order id (UUID) from `id` in an order response.

Отговори

Код Описание Вид на отговора
200 The order. { data: Order }
404 Unknown id, or not the signed-in buyer's own record. Error
401 No valid credential. The `WWW-Authenticate` header names the protected-resource metadata where OAuth is enabled. Error
403 The credential lacks the scope, the buyer has no right for this action, or the buyer is blocked from API access. Error
429 Rate limit reached; wait for `Retry-After` seconds. Limits are on https://enotale.bg/docs/api. Error
503 The API is switched off. Error

Модели#

Видовете, на които сочат отговорите. Вложените полета са с точка в името.

Money#

Име Вид Описание
minor_units integer | null Integer euro cents; never a float. null only when a price is not set.
currency string Always EUR.
formatted string Display string in the storefront format, for example "14,80 €".

Pack#

Име Вид Описание
id integer Value for `pack_id` when adding to the cart.
bottles integer Number of bottles in the pack.
total_price object What the buyer pays for the whole pack, after the bundle discount and any active campaign.
price_per_bottle object `total_price` divided by `bottles`.
orderable boolean False when the pack is below the wine's minimum, out of stock, withdrawn, or the winery is not selling.

MinimumPack#

The smallest enabled pack that clears the wine's minimum number of bottles. Stock is not consulted.

Име Вид Описание
bottles integer Number of bottles in the pack.
total_price object What the buyer pays for the whole pack.
price_per_bottle object `total_price` divided by `bottles`.

WineCard#

Име Вид Описание
slug string Public slug; use it in `GET /wines/{slug}`.
name string The wine name.
alt_name string | null The name in the other script (Cyrillic or Latin); null when there is none.
color string red, white, rose, orange or claret.
is_sparkling boolean True for sparkling wines of any color.
sweetness object | null null when the wine has no sweetness class.
sweetness.code string
sweetness.label_bg string
region string | null Region name in Bulgarian; null when not set.
subregion string | null Subregion name in Bulgarian; null when not set.
grape_varieties string[] Grape variety names in Bulgarian.
vintage_year integer | null Year of the vintage on sale; null when not set.
price object Price of ONE bottle.
price_basis string Always "per_bottle".
minimum_pack MinimumPack | null The smallest pack the buyer can order; null when none is orderable.
winery object The producing winery: `slug` and `name`.
winery.slug string
winery.name string
image_url string (uri) | null Bottle image address; null when there is no image.
url string (uri) The wine's page on the storefront.

WineVintage#

Име Вид Описание
year integer Year of the vintage.
is_current boolean Always true: this object is the edition on sale.
price object Price of ONE bottle.
price_basis string Always "per_bottle".
in_stock boolean Whether the edition has bottles on hand. Whether the wine can be bought now is the wine's availability.
packs Pack[] The enabled packs; wines are bought only in packs.
minimum_pack MinimumPack | null The smallest pack the buyer can order; null when none is orderable.
produced_bottles integer | null Bottles produced in this vintage; null when not stated.
alcohol_pct number | null Alcohol by volume, in percent.
volume_ml integer | null Bottle volume in milliliters.
harvest_type string | null One of standard, late_harvest, select_harvest, botrytis, ice_wine, dried_grape; null when not stated.
must_weight number | null Sugar of the must before fermentation, in the unit named by `must_weight_unit`. Not the sugar left in the wine: see `residual_sugar_g_l`.
must_weight_unit string | null oechsle, brix or baume.
residual_sugar_g_l number | null Sugar left in the wine after fermentation, in grams per liter.
aging object Aging: `text` (Bulgarian), `months` and `barrel_types` (Bulgarian labels).
aging.text string | null
aging.months integer | null
aging.barrel_types string[]
vintage_note string | null The winery's note on this vintage, in Bulgarian.
harvest_story string | null The winery's story of this harvest, in Bulgarian.
elabel_url string (uri) | null Address of the electronic label (ingredients and nutrition) of this vintage; null when the winery has none.
nutrition object EU nutrition declaration. A field is null when the winery has not entered it; never read null as zero.
nutrition.energy_kj integer | null
nutrition.energy_kcal integer | null
nutrition.fat_g number | null
nutrition.saturates_g number | null
nutrition.carbs_g number | null
nutrition.sugars_g number | null
nutrition.protein_g number | null
nutrition.salt_g number | null

Wine#

Име Вид Описание
slug string Public slug of the wine.
name string The wine name.
alt_name string | null The name in the other script (Cyrillic or Latin); null when there is none.
color string red, white, rose, orange or claret.
is_sparkling boolean True for sparkling wines of any color.
description string | null Description of the wine in Bulgarian.
style_descriptor string | null Short description of the wine's style, in Bulgarian.
occasion_note string | null When the wine suits, in Bulgarian.
audience_note string | null Who the wine suits, in Bulgarian.
serving_note string | null Serving advice in Bulgarian.
food_pairing_note string | null Food pairing advice in Bulgarian.
sweetness object | null null when the wine has no sweetness class.
sweetness.code string
sweetness.label_bg string
grape_composition object `primary` is the main grape variety; `secondary` lists the others. Names are in Bulgarian.
grape_composition.primary string | null
grape_composition.secondary string[]
origin object Where the grapes come from: `region`, `subregion`, `scope` (single_vineyard, single_village, multi_village or regional), `scope_label_bg` and `line`, the origin sentence the page shows.
origin.region string | null
origin.subregion string | null
origin.scope string | null
origin.scope_label_bg string | null
origin.line string | null
is_natural boolean True for natural wines.
food_pairing_tags object[] Each tag has `label_bg` and `description_bg`.
availability string Whether the wine can be bought now; same vocabulary as the storefront.
active_vintage WineVintage | null The edition on sale; null when there is none.
vintages object[] The wine's vintages: `year`, `slug`, `url` and `is_current`.
winery object The producing winery: `slug`, `name`, `story`, `philosophy` and `url`.
winery.slug string
winery.name string
winery.story string | null
winery.philosophy string | null
winery.url string (uri)
author object | null The person behind the wine: `name`, `role_title`, `bio` and `quote`; null when none is named.
images object Bottle images: `front` and `back` addresses, null when missing.
images.front string (uri) | null
images.back string (uri) | null
prep_days integer | null Days the winery needs to prepare a shipment; null when not stated.
url string (uri) The wine's page on the storefront.

WineryCard#

Име Вид Описание
slug string Public slug; use it in `GET /wineries/{slug}`.
name string The winery name.
region string | null Region name in Bulgarian; null when not set.
subregion string | null Subregion name in Bulgarian; null when not set.
hero_text string | null Short introduction of the winery in Bulgarian.
published_wines_count integer Number of the winery's wines listed in the catalog.
hero_image_url string (uri) | null Cover image address; null when there is none.
buyable boolean False while the winery does not sell online; `availability` says why.
availability string buyable, winery_paused or winery_not_yet_selling.
url string (uri) The winery's page on the storefront.

Winery#

Име Вид Описание
slug string Public slug of the winery.
name string The winery name.
region string | null Region name in Bulgarian; null when not set.
subregion string | null Subregion name in Bulgarian; null when not set.
locality string | null Village or town of the winery.
founding_year integer | null Year the winery was founded.
size string | null family, medium or boutique.
visitors_policy string | null yes, no or by_reservation.
visitors_policy_label_bg string | null The visitors policy in Bulgarian.
hero_text string | null Short introduction of the winery in Bulgarian.
story string | null The winery's story in Bulgarian.
philosophy string | null The winery's philosophy in Bulgarian.
style_overview string | null Overview of the winery's wine style in Bulgarian.
principles string[] The winery's principles, one text line each.
faqs object[] Each entry has `question` and `answer`.
people object[] Each entry has `name`, `role_title` and `bio`.
delivery_fee object Charged once per winery in an order.
fulfillment_sla_days integer | null Days the winery commits to ship within; null when not stated.
hero_image_url string (uri) | null Cover image address; null when there is none.
buyable boolean False while the winery does not sell online; `availability` says why.
availability string buyable, winery_paused or winery_not_yet_selling.
url string (uri) The winery's page on the storefront.

SavedCard#

Име Вид Описание
id integer Value for `card_token_id` when placing an order.
label string Display label of the card.
brand string | null Card brand, for example VISA; null when unknown.
last_four string | null Last four digits of the card number.
expires_on string (date) | null Expiry date of the card.
last_used_at string (date-time) When the card was last used for a payment.

Me#

Име Вид Описание
id string The buyer's public id (UUID).
name string Full name.
first_name string | null First name; null when not set.
last_name string | null Last name; null when not set.
email string Sign-in e-mail address.
phone string | null Phone number; null when not set.
api_purchasing object Whether this buyer may grant the purchase right and what the presented credential may do. `this_token` is null for a credential that is not an API key or connector grant.
api_purchasing.eligible boolean
api_purchasing.has_saved_card boolean
api_purchasing.completed_orders integer
api_purchasing.required_completed_orders integer
api_purchasing.max_order_cap_minor integer
api_purchasing.this_token object | null
saved_cards SavedCard[] Cards saved in the profile.

Address#

Име Вид Описание
id integer Value for `user_address_id` when placing an order.
label string | null The buyer's name for the address; null when not set.
recipient_name string Who receives the parcel.
phone string Phone number of the recipient.
street string | null Street and number; null when not set.
city string City or village.
postcode string | null Four-digit postcode; null when not set.
speedy_site_id integer | null Courier city id, for an office pick-up.
speedy_office_id integer | null Courier office id; set for an office pick-up.
is_default boolean True for the buyer's default address.

Cart#

Име Вид Описание
groups object[] One group per winery: `winery`, `items` (bottle packs and tasting packs with `item_id`, `count`, `unit_price`, `line_total`) and `subtotal`.
goods_total object Sum of all lines, before delivery fees.
checkout_url string (uri) | null Where the buyer pays on the site; null while the cart is empty or online sales are closed.
cart_url string (uri) | null The cart page on the storefront.

SubOrder#

Име Вид Описание
reference string Sub-order number shown to the buyer.
status string Machine status of the sub-order.
status_label_bg string The status in Bulgarian.
winery object The shipping winery: `slug` and `name`.
winery.slug string
winery.name string
ship_by string (date) Date by which the winery must ship.
shipped_at string (date-time) | null When the winery shipped; null before that.
delivered_at string (date-time) | null When the parcel was delivered; null before that.
carrier string | null Courier code; null before shipping.
tracking_no string | null Courier tracking number; null before shipping.
parcel_leg string | null Stage of the parcel in the courier network; null before shipping.
office_hold_until string (date-time) | null When the hold of a parcel waiting in a courier office ends; null otherwise.
delivery_fee Money | null Delivery fee of this sub-order.
lines object[] Each line: `wine_name`, `wine_slug`, `qty`, `pack_bottles`, `pack_count`, `unit_price`, `line_total`.
shipment_events object[] Tracking events: `occurred_at` and `description`.

Order#

Име Вид Описание
id string The public order id (UUID), used in `/me/orders/{order}`.
display_number string The order number shown to the buyer. Not an identifier: use `id`.
status string Machine status of the order.
status_label_bg string The status in Bulgarian.
placed_at string (date-time) | null When the order was placed.
delivery_address object | null The delivery address the order was placed with; null when there is none.
invoice object | null Invoice details when the buyer asked for an invoice; otherwise null.
totals object total = subtotal - discount - benefit_discount + delivery_fee.
totals.subtotal Money
totals.discount Money
totals.benefit_discount Money
totals.benefit_code string | null
totals.delivery_fee Money
totals.total Money
sub_orders SubOrder[] One sub-order per winery.
payment object `status` is one of unpaid, charging, paid, failed, cancelled. `pay_url` is set for unpaid and failed orders.
payment.status string
payment.pay_url string (uri) | null

OrderSummary#

Име Вид Описание
id string The public order id (UUID), used in `/me/orders/{order}`.
display_number string The order number shown to the buyer.
status string Machine status of the order.
status_label_bg string The status in Bulgarian.
placed_at string (date-time) | null When the order was placed.
total object Total the buyer pays.
sub_orders_count integer Number of sub-orders, one per winery.
wineries string[] Names of the wineries in the order.

OrderSummaryPreview#

What the buyer agrees to by confirming; nothing is created while this is returned.

Име Вид Описание
wineries object[] Per winery: `winery`, `lines` (with `unit_price`, `line_total`), `goods`, `delivery_fee`.
subtotal object Sum of the wine lines before discounts.
discount object Discount applied to the order.
benefit_discount object Discount from the buyer's benefit code.
delivery_fee object Delivery fees of all wineries.
total object What the buyer pays: subtotal minus discounts plus delivery.
delivery_to object | null The address the order will be delivered to.
invoice_to object | null The invoice details the order will use; null when no invoice was asked for.
payment object `verdict` is will_be_charged or cap_exceeded.
payment.card object
payment.cap Money
payment.verdict string
payment.message string

OrderConfirmationRequired#

Име Вид Описание
status string Always "confirmation_required".
reason string | null "summary_changed" when a confirmation_code was sent but the cart, a price, the address or the total changed since; null on the first call.
summary object What the buyer agrees to by confirming.
confirmation object Send `confirmation.code` back, unchanged, with the same body, after the buyer said yes to the summary.
confirmation.code string
confirmation.expires_at string (date-time)
confirmation.instructions string

OrderPlacement#

Име Вид Описание
status string charging (the card charge is in progress), not_charged (the card could not be used) or cap_exceeded (the total is above the credential's cap).
message string | null Text for the buyer, in Bulgarian.
pay_url string (uri) | null Set for not_charged and cap_exceeded: the buyer pays on the site.

OrderPlaced#

Име Вид Описание
data object The created order.
placement object What happened to the payment.

ValidationError#

Име Вид Описание
message string Summary of the first problem.
errors object Field name to a list of messages.

Error#

Име Вид Описание
message string What went wrong; safe to show to the buyer.

Reference#

The vocabulary the catalog filters accept.

Име Вид Описание
colors object[] Wine colors: `value`, `label_bg`.
varieties object[] Grape varieties: `canonical_name` (filter value), `display_name_bg`, `color_group`.
regions object[] Regions: `alias` (filter value), `name_bg`, `subregions` with `slug` and `name_bg`.
origin_scopes object[]
sweetness_levels object[] Sweetness classes: `code` (filter value), `scale`, `label_bg`.
price_buckets object[] Price buckets: `key` (filter value), `min_minor`, `max_minor`, `label_bg`.
sort_options object[]