About
This page discusses how to tell us about your orders that take place on other sites. While it's not necessary you share this information with us, it helps our algorithms under stand your products and customers better.
X-CSRF Token
To get and use your you API you need to login and user your X-CSRF Token. Please visit here for more information
Add external order information Via Rest
Address
POST
https://tejo.ca/cosmetic_company_controls/external_order/RESTAPI
Here is a list of all possible fields. All feilds are optional.
Field Name | Description |
field_address | uses the following feilds (all text) none required: langcode |
field_brand_node | brand id that is provided to you (to help distinguish which retailer created the sale) |
field_country | string, country name |
field_email | string, consumer e-mail |
field_product_bought | array of product variation ids |
field_refferal_id | any refferal id (from Tejo) that generated sale |
field_time_ | leave blank to use current time. else format : yyyy-mm-dd hh:mm:ss |
This will just return the word "success" if everything went well.
Tejo runs on Drupal 8. You can always consult D8 documentation for more information.