...
Code Block | ||
---|---|---|
| ||
{ "data": [ { "logo": "https://devdemo.tireconnect.ca/uploads/supplier/f386424d92a6d6982243f085b841f11f43c81132.jpg", "name": "ATD/NTD", "id": "ATD", "operating_countries": [ "CA", "US" ], "operating_regions": [ { "country": "CA", "states": [ "AB", "MB", "NL" ] }, { "country": "US", "states": [ "WA" ] } ], "tf": true, "ordering_supported": true, "contact_phone": "3312342343", "address": { "address_line_1": "67 Rue Wellington", "address_line_2": null, "city": "Gatineau", "postal_code": "J8X 2H4", "state": "QC", "country": "CA" }, "credentials": [ { "type": "input", "mapping": "location:location_number", "options": null, "name": "location_number", "label": "Location number", "description": "Location number in ATD system", "required": true, "link": null, "is_checked": false, "attributes": [ { "name": "name", "value": "location_number" } ] }, { "type": "select", "mapping": "ordering:fillkill", "options": [ "Fill or Kill", "Fill and Kill" ], "name": "fill_kill", "label": "Fill Kill", "description": "Default ordering behaviour", "required": false, "link": null, "is_checked": false, "attributes": [ { "name": "name", "value": "fill_kill" } ] }, { "type": "input", "mapping": null, "options": null, "name": "account_number", "label": "Account Number", "description": "Account number in ATD system", "required": true, "link": null, "is_checked": false, "attributes": [ { "name": "name", "value": "account_number" } ] }, { "type": "input", "mapping": "common:username", "options": null, "name": "username", "label": "Username", "description": "User Login(s)", "required": true, "link": null, "is_checked": false, "attributes": [ { "name": "name", "value": "username" } ] }, { "type": "checkbox", "mapping": "ordering:always_default_delivery", "options": null, "name": "ADD", "label": "ADD", "description": "Defualt Delivery Option", "required": true, "link": null, "is_checked": true, "attributes": [ { "name": "name", "value": "ADD" }, { "name": "checked", "value": "checked" } ] } ] } ], "meta": { "total": 1 } } |
...
logo | Supplier’s logo | |
---|---|---|
name | Supplier name | |
id | Supplier connection ID | |
operating_countries | List of supplier operating countries | |
operating_countries | List of supplier countries with regions where supplier operating | |
country | Country | |
states | List of states | |
tf | Transaction Fee | |
ordering_supported | Mark of direct ordering support | |
contact_phone | Supplier contact phone | |
address | Supplier address | |
address_line_1 | Address line 1 | |
address_line_2 | Address line 2 | |
city | City | |
postal_code | Zip/postal code | |
state | State/province | |
country | Country | |
credentials | Object with credentials needed for supplier connection request | |
type | Field type | mapping|
options | Available options to select | |
name | Field name | |
label | Field label | |
description | Field description | |
required | Field required or not | |
link | Link to supplier registration form | |
is_checked | In case field_type = checkbox it will show it’s initial state | |
attributes | Field attributes |
...