Useful cheat sheet from Adidas API documentation on JSON messages:
Any JSON-based message MUST conform to the following rules:
- All JSON field names MUST follow the Naming Conventions (
camelCase, American English, etc.) - Field names MUST be ASCII alpha num characters, underscore (
_) or dollar sign ($) - Boolean fields MUST NOT be of
nullvalue - Fields with
nullvalue SHOULD be omitted - Empty arrays and objects SHOULD NOT be
null(use[]or{}instead) - Array field names SHOULD be plural (e.g.
"orders": [])
Leave a Reply