Create a stock item
curl --request POST \
--url https://server.twicecommerce.com/v1/admin/articles/ \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"article": {
"name": "<string>",
"serviceLocationId": "<string>",
"taxonomyCategoryId": "<string>",
"codes": [
"<string>"
],
"status": "active",
"parentId": "<string>",
"path": "<string>",
"availableFrom": "2023-11-07T05:31:56Z",
"quantity": 123,
"attributes": {},
"skuId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"trackIndividually": true
},
"fileIds": [
"<string>"
]
}
'import requests
url = "https://server.twicecommerce.com/v1/admin/articles/"
payload = {
"article": {
"name": "<string>",
"serviceLocationId": "<string>",
"taxonomyCategoryId": "<string>",
"codes": ["<string>"],
"status": "active",
"parentId": "<string>",
"path": "<string>",
"availableFrom": "2023-11-07T05:31:56Z",
"quantity": 123,
"attributes": {},
"skuId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"trackIndividually": True
},
"fileIds": ["<string>"]
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
article: {
name: '<string>',
serviceLocationId: '<string>',
taxonomyCategoryId: '<string>',
codes: ['<string>'],
status: 'active',
parentId: '<string>',
path: '<string>',
availableFrom: '2023-11-07T05:31:56Z',
quantity: 123,
attributes: {},
skuId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
trackIndividually: true
},
fileIds: ['<string>']
})
};
fetch('https://server.twicecommerce.com/v1/admin/articles/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://server.twicecommerce.com/v1/admin/articles/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'article' => [
'name' => '<string>',
'serviceLocationId' => '<string>',
'taxonomyCategoryId' => '<string>',
'codes' => [
'<string>'
],
'status' => 'active',
'parentId' => '<string>',
'path' => '<string>',
'availableFrom' => '2023-11-07T05:31:56Z',
'quantity' => 123,
'attributes' => [
],
'skuId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'trackIndividually' => true
],
'fileIds' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://server.twicecommerce.com/v1/admin/articles/"
payload := strings.NewReader("{\n \"article\": {\n \"name\": \"<string>\",\n \"serviceLocationId\": \"<string>\",\n \"taxonomyCategoryId\": \"<string>\",\n \"codes\": [\n \"<string>\"\n ],\n \"status\": \"active\",\n \"parentId\": \"<string>\",\n \"path\": \"<string>\",\n \"availableFrom\": \"2023-11-07T05:31:56Z\",\n \"quantity\": 123,\n \"attributes\": {},\n \"skuId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"trackIndividually\": true\n },\n \"fileIds\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://server.twicecommerce.com/v1/admin/articles/")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"article\": {\n \"name\": \"<string>\",\n \"serviceLocationId\": \"<string>\",\n \"taxonomyCategoryId\": \"<string>\",\n \"codes\": [\n \"<string>\"\n ],\n \"status\": \"active\",\n \"parentId\": \"<string>\",\n \"path\": \"<string>\",\n \"availableFrom\": \"2023-11-07T05:31:56Z\",\n \"quantity\": 123,\n \"attributes\": {},\n \"skuId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"trackIndividually\": true\n },\n \"fileIds\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://server.twicecommerce.com/v1/admin/articles/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"article\": {\n \"name\": \"<string>\",\n \"serviceLocationId\": \"<string>\",\n \"taxonomyCategoryId\": \"<string>\",\n \"codes\": [\n \"<string>\"\n ],\n \"status\": \"active\",\n \"parentId\": \"<string>\",\n \"path\": \"<string>\",\n \"availableFrom\": \"2023-11-07T05:31:56Z\",\n \"quantity\": 123,\n \"attributes\": {},\n \"skuId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"trackIndividually\": true\n },\n \"fileIds\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"codes": [
"<string>"
],
"name": "<string>",
"binLocation": "<string>",
"status": "active",
"createdAt": "2023-11-07T05:31:56Z",
"taxonomyCategoryId": "<string>",
"aggregateData": {
"totalCount": 123,
"lastCreated": "2023-11-07T05:31:56Z",
"lastUpdated": "2023-11-07T05:31:56Z"
},
"binLocationOrigin": "article",
"parentId": "<string>",
"path": "<string>",
"archivedAt": "2023-11-07T05:31:56Z",
"taxonomyCategory": {
"id": "<string>",
"name": "<string>",
"fullName": "<string>",
"level": 123,
"parentId": "<string>",
"isLeaf": true
},
"media": {
"fileId": "<string>",
"articleId": "<string>",
"orderIndex": 123,
"media": {
"id": "<string>",
"tenantId": "<string>",
"fileUrl": "<string>",
"mimeType": "<string>",
"originalName": "<string>",
"folderPath": "<string>",
"size": 123,
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"updatedById": "<string>",
"createdById": "<string>"
}
},
"documents": {
"fileId": "<string>",
"articleId": "<string>",
"orderIndex": 123,
"comment": "<string>",
"document": {
"id": "<string>",
"tenantId": "<string>",
"fileUrl": "<string>",
"mimeType": "<string>",
"originalName": "<string>",
"folderPath": "<string>",
"size": 123,
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"updatedById": "<string>",
"createdById": "<string>"
}
},
"attributes": {
"id": "<string>",
"name": "<string>",
"key": "<string>",
"value": "<string>",
"format": "text",
"groupId": "<string>",
"groupName": "<string>",
"systemGroup": "sustainability",
"origin": "article"
},
"tags": {
"id": "<string>",
"value": "<string>",
"scope": "inventory",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"sku": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"code": "<string>",
"tags": {
"id": "<string>",
"value": "<string>",
"scope": "inventory",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"bufferTimeAmountBefore": 4503599627370495,
"bufferTimeUnitBefore": "seconds",
"bufferTimeAmountAfter": 4503599627370495,
"bufferTimeUnitAfter": "seconds"
},
"itemCosts": 123,
"itemIncome": 123,
"purchasePrice": 123,
"purchasePriceOrigin": "article",
"condition": "<string>",
"description": null,
"descriptionOrigin": "article",
"bufferTimeAmountBefore": 4503599627370495,
"bufferTimeUnitBefore": "seconds",
"bufferTimeOriginBefore": "article",
"bufferTimeAmountAfter": 4503599627370495,
"bufferTimeUnitAfter": "seconds",
"bufferTimeOrigin": "article",
"profitability": 123,
"conflicts": {
"byLocation": {}
}
}Creates a stock item (article) — a concrete unit of inventory held at a service location. Attach media by passing file ids obtained from the file-upload endpoint. Returns the created article(s).
POST
/
v1
/
admin
/
articles
/
Create a stock item
curl --request POST \
--url https://server.twicecommerce.com/v1/admin/articles/ \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"article": {
"name": "<string>",
"serviceLocationId": "<string>",
"taxonomyCategoryId": "<string>",
"codes": [
"<string>"
],
"status": "active",
"parentId": "<string>",
"path": "<string>",
"availableFrom": "2023-11-07T05:31:56Z",
"quantity": 123,
"attributes": {},
"skuId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"trackIndividually": true
},
"fileIds": [
"<string>"
]
}
'import requests
url = "https://server.twicecommerce.com/v1/admin/articles/"
payload = {
"article": {
"name": "<string>",
"serviceLocationId": "<string>",
"taxonomyCategoryId": "<string>",
"codes": ["<string>"],
"status": "active",
"parentId": "<string>",
"path": "<string>",
"availableFrom": "2023-11-07T05:31:56Z",
"quantity": 123,
"attributes": {},
"skuId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"trackIndividually": True
},
"fileIds": ["<string>"]
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
article: {
name: '<string>',
serviceLocationId: '<string>',
taxonomyCategoryId: '<string>',
codes: ['<string>'],
status: 'active',
parentId: '<string>',
path: '<string>',
availableFrom: '2023-11-07T05:31:56Z',
quantity: 123,
attributes: {},
skuId: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
trackIndividually: true
},
fileIds: ['<string>']
})
};
fetch('https://server.twicecommerce.com/v1/admin/articles/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://server.twicecommerce.com/v1/admin/articles/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'article' => [
'name' => '<string>',
'serviceLocationId' => '<string>',
'taxonomyCategoryId' => '<string>',
'codes' => [
'<string>'
],
'status' => 'active',
'parentId' => '<string>',
'path' => '<string>',
'availableFrom' => '2023-11-07T05:31:56Z',
'quantity' => 123,
'attributes' => [
],
'skuId' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'trackIndividually' => true
],
'fileIds' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://server.twicecommerce.com/v1/admin/articles/"
payload := strings.NewReader("{\n \"article\": {\n \"name\": \"<string>\",\n \"serviceLocationId\": \"<string>\",\n \"taxonomyCategoryId\": \"<string>\",\n \"codes\": [\n \"<string>\"\n ],\n \"status\": \"active\",\n \"parentId\": \"<string>\",\n \"path\": \"<string>\",\n \"availableFrom\": \"2023-11-07T05:31:56Z\",\n \"quantity\": 123,\n \"attributes\": {},\n \"skuId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"trackIndividually\": true\n },\n \"fileIds\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://server.twicecommerce.com/v1/admin/articles/")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"article\": {\n \"name\": \"<string>\",\n \"serviceLocationId\": \"<string>\",\n \"taxonomyCategoryId\": \"<string>\",\n \"codes\": [\n \"<string>\"\n ],\n \"status\": \"active\",\n \"parentId\": \"<string>\",\n \"path\": \"<string>\",\n \"availableFrom\": \"2023-11-07T05:31:56Z\",\n \"quantity\": 123,\n \"attributes\": {},\n \"skuId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"trackIndividually\": true\n },\n \"fileIds\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://server.twicecommerce.com/v1/admin/articles/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"article\": {\n \"name\": \"<string>\",\n \"serviceLocationId\": \"<string>\",\n \"taxonomyCategoryId\": \"<string>\",\n \"codes\": [\n \"<string>\"\n ],\n \"status\": \"active\",\n \"parentId\": \"<string>\",\n \"path\": \"<string>\",\n \"availableFrom\": \"2023-11-07T05:31:56Z\",\n \"quantity\": 123,\n \"attributes\": {},\n \"skuId\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"trackIndividually\": true\n },\n \"fileIds\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"codes": [
"<string>"
],
"name": "<string>",
"binLocation": "<string>",
"status": "active",
"createdAt": "2023-11-07T05:31:56Z",
"taxonomyCategoryId": "<string>",
"aggregateData": {
"totalCount": 123,
"lastCreated": "2023-11-07T05:31:56Z",
"lastUpdated": "2023-11-07T05:31:56Z"
},
"binLocationOrigin": "article",
"parentId": "<string>",
"path": "<string>",
"archivedAt": "2023-11-07T05:31:56Z",
"taxonomyCategory": {
"id": "<string>",
"name": "<string>",
"fullName": "<string>",
"level": 123,
"parentId": "<string>",
"isLeaf": true
},
"media": {
"fileId": "<string>",
"articleId": "<string>",
"orderIndex": 123,
"media": {
"id": "<string>",
"tenantId": "<string>",
"fileUrl": "<string>",
"mimeType": "<string>",
"originalName": "<string>",
"folderPath": "<string>",
"size": 123,
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"updatedById": "<string>",
"createdById": "<string>"
}
},
"documents": {
"fileId": "<string>",
"articleId": "<string>",
"orderIndex": 123,
"comment": "<string>",
"document": {
"id": "<string>",
"tenantId": "<string>",
"fileUrl": "<string>",
"mimeType": "<string>",
"originalName": "<string>",
"folderPath": "<string>",
"size": 123,
"createdAt": "<string>",
"updatedAt": "<string>",
"deletedAt": "<string>",
"updatedById": "<string>",
"createdById": "<string>"
}
},
"attributes": {
"id": "<string>",
"name": "<string>",
"key": "<string>",
"value": "<string>",
"format": "text",
"groupId": "<string>",
"groupName": "<string>",
"systemGroup": "sustainability",
"origin": "article"
},
"tags": {
"id": "<string>",
"value": "<string>",
"scope": "inventory",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"sku": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"code": "<string>",
"tags": {
"id": "<string>",
"value": "<string>",
"scope": "inventory",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
},
"bufferTimeAmountBefore": 4503599627370495,
"bufferTimeUnitBefore": "seconds",
"bufferTimeAmountAfter": 4503599627370495,
"bufferTimeUnitAfter": "seconds"
},
"itemCosts": 123,
"itemIncome": 123,
"purchasePrice": 123,
"purchasePriceOrigin": "article",
"condition": "<string>",
"description": null,
"descriptionOrigin": "article",
"bufferTimeAmountBefore": 4503599627370495,
"bufferTimeUnitBefore": "seconds",
"bufferTimeOriginBefore": "article",
"bufferTimeAmountAfter": 4503599627370495,
"bufferTimeUnitAfter": "seconds",
"bufferTimeOrigin": "article",
"profitability": 123,
"conflicts": {
"byLocation": {}
}
}Authorizations
API key for the Twice API
Body
application/json
Body
Hide child attributes
Hide child attributes
Minimum string length:
1Minimum array length:
1Available options:
active, inactive, draft Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Required range:
x <= 9007199254740991Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Response
200
Available options:
active, inactive, draft Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Hide child attributes
Hide child attributes
Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Available options:
article, sku Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Available options:
text, number, boolean, date, datetime, formula, select, multiselect Available options:
sustainability, system Available options:
article, sku, customer, catalog Hide child attributes
Hide child attributes
Available options:
inventory, catalog, customers, orders Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Hide child attributes
Hide child attributes
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Hide child attributes
Hide child attributes
Available options:
inventory, catalog, customers, orders Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Required range:
0 <= x <= 9007199254740991Available options:
seconds, minutes, hours, days, weeks, months, years Required range:
0 <= x <= 9007199254740991Available options:
seconds, minutes, hours, days, weeks, months, years Available options:
article, sku Available options:
article, sku Required range:
0 <= x <= 9007199254740991Available options:
seconds, minutes, hours, days, weeks, months, years Available options:
article, sku Required range:
0 <= x <= 9007199254740991Available options:
seconds, minutes, hours, days, weeks, months, years Available options:
article, sku Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Hide child attributes
Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Hide child attributes
Hide child attributes
Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Pattern:
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$Was this page helpful?