Description Usage Arguments Value
This function enables you to extract data from the Orders table of Prestashop. To do so, you just need to indicate the hostname, token and the orders of which you want to extract data from.
1 2 3 4 5 6 7 8 9 10 | presta_data(
token,
hostname,
endpoint = "orders",
id_column = "id",
ids = NULL,
group_dim = 100,
include_nested = F,
verbose = FALSE
)
|
token |
Webservice Key. |
hostname |
Hotname of your website. For example, si your URL is https://www.test.com/, the hostname is www.test.com. On the other hand, if your URL is https://test.com/ your hostname is test.com. |
endpoint |
Indicates the table you want to retrieve data from. The webservice should have permissions. |
ids |
A vector including the ids that you want to extract. To extract all the data, set parameter to NULL. |
group_dim |
The number of rows that will be retrieved in each API call. Set as default if you will retrieve a lot of data. |
include_nested |
Whether to include related nested data, such as customer groups. |
verbose |
Whether you want to see the process of extraction. |
A dataframe with all extracted data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.