id, type, and available elements
id, type, available
elements are attributes of the offer
element.available
— product status
The available
element specifies the product status: “ready for shipment” or “custom”. The product status determines whether or not its delivery and customer pickup terms are displayed on Yandex.Market.
The available
element is used in addition to the data specified in your personal account:
When the local courier delivery terms are set in your personal account.
In addition to the courier delivery terms for shipments to other regions.
In addition to customer pickup.
The available
element is not used when the local courier delivery terms are set in the price list (in any format), because the product status can be specified using the delivery-options
or local_delivery_days
elements.
Possible values:
true
— the product is ready to ship and will be delivered by courier or to the pick-up point within the specified time.Yandex.Market will display the delivery times published in your personal account.
false
— the product is made to order, and the exact time of delivery by courier or to a pick-up point is unknown. The delivery period will be negotiated with the buyer on an individual basis (the maximum permitted delivery period is two months).The delivery terms are not shown on Yandex.Market, and the delivery period is labeled “custom”.
This element is optional. If the element is not specified, the default value true
is used.
The store specifies its local courier delivery terms in its personal account, available
is set to false
. The following are displayed for the offer on Yandex.Market:
For courier delivery to the store's local region: “custom”.
For courier delivery to other regions: “custom”.
For customer pickup: “custom”.
The store specifies its local courier delivery terms in its price list, available
is set to false
. The following are displayed for the offer on Yandex.Market:
For courier delivery to the region where the store is located: the period from the corresponding element (
delivery-options
orlocal_delivery_days
).Note. The elements have their own ways to pass the “custom” status.For courier delivery to other regions: “custom”.
For customer pickup: “custom”.
id
— offer ID
The id
element specifies the offer's identifier. The ID may contain only numbers and Latin letters. The maximum length of id
is 20 characters.
It is a must to specify the ID. The offer identifier must be:
Unique for all the offers in a single price list.
Remain constant for the same offer in all versions of a single price list.
If two or more offers have the same id
specified, the identifier will be assigned only to the first of these offers. For the others, a warning message about a missing ID will be displayed during verification.