ShopGo
1.0.0
1.0.0
  • Welcome
  • Developer Guides
    • Order Processing
    • Webhooks
      • Calculate Shipping Rates
  • Management API
    • Introduction
    • Authentication
      • Using User API Key
      • Using Platform API Key
    • Authorization
    • Objects
      • Primitives
      • Order
      • Payment
      • Shipment
      • Purchase
      • Adjustment
      • Charge
      • Attribute
    • API Endpoints
  • Platform API
    • Introduction
    • Authentication
    • Objects
    • API Endpoints
      • Tenant
Powered by GitBook
On this page
  • Money
  • DateTime
  • Address
  • BilingualString

Was this helpful?

  1. Management API
  2. Objects

Primitives

Object model reference for primitive types

PreviousObjectsNextOrder

Last updated 4 years ago

Was this helpful?

Money

Monetary value (compatible with )

// Example Money

{
    "amount": "24.00",
    "currency": "JOD"
}

DateTime

A String timestamp in

// 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": "john.doe@gmail.com",
    "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": "مرحباً"
}
ISO 4217
ISO 8601