Skip to main content

availability_date

Optional Field

This field is optional, but omitting it may leave out functionality on Prisjakt for your offers

Description

This field is used together with availability for preorder or backorder values.

Effects When Used

  • We will display a label alongside with availability indicator that says when the product is available

Effects When Omitted

  • No information is available for customer regarding when a preorder or backorder offer is available

Validation Rules

  • Value must parse as valid ISO 8601, see examples

Best Practices

Do

  • Include the time portion of the date (if missing 12:00 AM CET will be set)

Example Values

Here are examples of how a valid availability_date value should look like in XML and CSV (with header) respectively.

Valid Value
<g:availability_date>2021-12-22T03:12:58.019077+00:00</g:availability_date>
<g:availability>preorder</g:availability>
Click to show more valid XML examples
<g:availability_date>2021-12-22T03:12:58.019077+00:00</g:availability_date>
<g:availability>preorder</g:availability>
<g:availability_date>2021-03-21</g:availability_date>
<g:availability>preorder</g:availability>

Error Codes

Below you will find possible error codes generated when validating this field alongside with an example in XML and CSV that would trigger the code. Please refer to the validation rules to understand the cause.

<g:availability_date>2021/12/22/12:23:00</g:availability_date>
<g:availability_date>today</g:availability_date>
<g:availability_date>2021-03-21</g:availability_date>
<g:availability>download</g:availability>
<g:availability_date>2021-03-21</g:availability_date>
<g:availability>in_stock</g:availability>
<g:availability_date>2021-03-21</g:availability_date>
<g:availability>not_available_for_purchase</g:availability>
<g:availability_date>2021-03-21</g:availability_date>
<g:availability>out_of_stock</g:availability>
<g:availability_date></g:availability_date>
<g:availability>preorder</g:availability>

Properties

PropertyValueDescription
Data TypedateClosest data type in code
NestedFalseDefines if this field consists of one or more sub-fields
Case SensitiveFalseIf small or large letters matter for this field
RepeatableFalseIf you can supply multiple items of this field (it´s a list)
Repeatable limit0If a list, this specifices the max number of items

Changelog

📅 2022-12-07

Added

Initial definition

References