Перейти к основному содержимому

offer_object

idinteger

Product ID

statusstring

draft - offer is draft active - offer can be bought paused - offer cannot be bought archived - offer is deleted

Possible values: [draft, active, paused, archived]

is_autosellingboolean

Whether automatic product delivery is enabled

deliverystringnullable

auto - automatically set delivery status together with fulfillment time manual - manual delivery status update

Possible values: [auto, manual]

Default value: auto
title_rustring

Product title (RU)

title_enstring

Product title (EN)

description_rustring

Product description (RU)

description_enstring

Product description (EN)

instructions_rustring

Product instructions (RU)

instructions_enstring

Product instructions (EN)

cover_image_ru_urlstring

Product cover image URL

cover_image_en_urlstringnullable

Product cover image URL

category object
idinteger

Category ID compatible with V1 API

titlestring

Localized category name

content_typestring

Category content type

feenumber

Category commission percentage as decimal

payment_feenumber

Payment commission percentage as decimal

treestring

Full category path

has_childrenboolean

Whether child categories exist

pricenumber

Product price

currencystring

Product currency, always RUB

Possible values: [RUB]

quantityinteger

Products in stock

is_unlimited_quantityboolean

Whether stock is unlimited

Default value: false
min_quantityintegernullable

Minimum quantity per purchase

max_quantityintegernullable

Maximum quantity per purchase

sold_splitted_products_countinteger

Sales count with splitted products

sold_products_countinteger

Sales count without splitted products

in_stock_products_countinteger

Products in stock (without splitted products)

Default value: 0
in_stock_splitted_products_countinteger

Splitted products in stock

Default value: 0
has_splitted_productsboolean

Whether splitted products exist

updated_atstring

Last updated time (MSK)

created_atstring

Creation time (MSK)

post_payment_urlstringnullable

Product fulfillment URL in merchant system

pre_payment_settings objectnullable
is_enabledboolean

Whether pre-payment validation settings are enabled

Default value: false
urlstringnullable

Merchant notification URL

allow_paymentboolean

Allow payment when validation request fails

Default value: true
notification_settings objectnullable
typestringnullable

Merchant notification type for new order

Possible values: [email, url]

Default value: email
urlstringnullable

Merchant notification URL

emailstringnullable

Merchant notification email

http_methodstringnullable

Notification HTTP method

Possible values: [GET, POST]

is_disabledboolean

Whether notifications are disabled

Default value: false
is_defaultboolean

If true, notifications will be sent only by email

Default value: true
offer_object
{
"id": 0,
"status": "draft",
"is_autoselling": true,
"delivery": "auto",
"title_ru": "string",
"title_en": "string",
"description_ru": "string",
"description_en": "string",
"instructions_ru": "string",
"instructions_en": "string",
"cover_image_ru_url": "string",
"cover_image_en_url": "string",
"category": {
"id": 0,
"title": "string",
"content_type": "string",
"fee": 0,
"payment_fee": 0,
"tree": "string",
"has_children": true
},
"price": 0,
"currency": "RUB",
"quantity": 0,
"is_unlimited_quantity": false,
"min_quantity": 0,
"max_quantity": 0,
"sold_splitted_products_count": 0,
"sold_products_count": 0,
"in_stock_products_count": 0,
"in_stock_splitted_products_count": 0,
"has_splitted_products": true,
"updated_at": "string",
"created_at": "string",
"post_payment_url": "string",
"pre_payment_settings": {
"is_enabled": false,
"url": "string",
"allow_payment": true
},
"notification_settings": {
"type": "email",
"url": "string",
"email": "string",
"http_method": "GET",
"is_disabled": false,
"is_default": true
}
}