All api calls are to be sent to our /connect endpoint using POST method, API response is in JSON
JSON response will have a Response and Status field.
Field | Detail |
---|---|
Request | This specifies the type of API call you are making |
MetroID | This is your unique API Code found on your dashboard |
Request Type | Detail |
platforms | This gets a list of all our supported platforms and their platform code |
action | This gets a list of actions available to a particular platform and their action code |
new_order | This request is used to create a new order |
Request | Required Fields |
Requests | All API requests must have a MetroID field |
platform | MetroID field |
action | MetroID field platform (this is the platform code) |
new_order | MetroID field platform (this is the platform code) action (this is the action code) quantity (this is the quantity of the selected actions you are ordering) link (this is the link to the selected actions you are ordering) |