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
orbackorder
offer is available
Related Fields
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.
- XML
- CSV
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>
Valid Value
availability_date,availability
2021-12-22T03:12:58.019077+00:00,preorder
Click to show more valid CSV examples
availability_date,availability
2021-12-22T03:12:58.019077+00:00,preorder
availability_date,availability
2021-03-21,preorder
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.
- XML
- CSV
<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>out_of_stock</g:availability>
<g:availability_date></g:availability_date>
<g:availability>preorder</g:availability>
danger
validation_invalid_value
availability_date
2021/12/22/12:23:00
availability_date
today
availability_date,availability
2021-03-21,download
availability_date,availability
2021-03-21,in_stock
availability_date,availability
2021-03-21,out_of_stock
danger
Properties
Property | Value | Description |
---|---|---|
Data Type | date | Closest data type in code |
Nested | False | Defines if this field consists of one or more sub-fields |
Case Sensitive | False | If small or large letters matter for this field |
Repeatable | False | If you can supply multiple items of this field (it´s a list) |
Repeatable limit | 0 | If a list, this specifices the max number of items |
Changelog
📅 2022-12-07
Added
Initial definition