Primitives
Object model reference for primitive types
Money
Monetary value (compatible with ISO 4217)
// Example Money
{
"amount": "24.00",
"currency": "JOD"
}
DateTime
A String timestamp in ISO 8601
// Example DateTime
"2021-01-09T15:10:39.064734+00:00"
Address
Geographic and contact identifiers for order invoicing and fulfillment
// Example Address
{
"name": "John Doe",
"city": "Amman",
"email": "[email protected]",
"country": "Jordan",
"postcode": "1234",
"telephone": "+447591234567",
"line1": "12 Some Place",
"line2": "Some Neighbourhood",
"lng": "35.91250621679689",
"lat": "31.94451475545495",
}
BilingualString
String in both English and Arabic
// BilingualString Example
{
"en": "hello",
"ar": "مرحباً"
}
Last updated
Was this helpful?