Integrations
PrestaShop
20 actions for PrestaShop.
Create Cart Rule in PrestaShop#
Creates a discount voucher in a PrestaShop store.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopCreateCartRule
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Name | Text | Yes | (empty) | Voucher name shown to the customer. |
| Code | Text | Yes | (empty) | Code the customer enters at checkout. |
| Percent Off | Number | No | 0 | Percentage off the order, for example 10. |
| Amount Off | Number | No | 0 | Fixed amount off the order, in the shop’s default currency. |
| Free Shipping | Yes/No | No | Off | Whether the voucher gives free shipping. |
| Valid From | Text | No | (empty) | Start of validity, YYYY-MM-DD HH:MM:SS (default: now). |
| Valid To | Text | No | (empty) | End of validity, YYYY-MM-DD HH:MM:SS (default: 30 days from now). |
| Quantity | Number | No | 1 | How many times the voucher can be used in total (default: 1). |
| Quantity per Customer | Number | No | 1 | How many times one customer can use it (default: 1). |
Outputs#
| Output | Type |
|---|---|
| Success | Yes/No |
| Cart Rule | Object |
Use as an agent tool#
Tool name: prestashop_create_cart_rule
Create a PrestaShop discount voucher that customers redeem with a code at checkout. Give a percentage off, an amount off or free shipping.
Get Carriers from PrestaShop#
Gets the shipping carriers of a PrestaShop store.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopGetCarriers
Outputs#
| Output | Type |
|---|---|
| Carriers | List |
| Count | Number |
Use as an agent tool#
Tool name: prestashop_get_carriers
List the shipping carriers of a PrestaShop store with their delivery time, whether they are free and whether they are active. Use it to answer which shipping options the store offers.
Get Cart Rules from PrestaShop#
Gets the cart rules (discount vouchers) of a PrestaShop store, newest first.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopGetCartRules
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Limit | Number | No | 20 | Number of cart rules to return (default: 20). |
| Offset | Number | No | 0 | Number of cart rules to skip (default: 0). |
Outputs#
| Output | Type |
|---|---|
| Cart Rules | List |
| Count | Number |
Use as an agent tool#
Tool name: prestashop_get_cart_rules
List a PrestaShop store’s cart rules, its discount vouchers, with code, discount, validity dates and remaining quantity. Voucher codes are the merchant’s; do not read them out to a customer unless the merchant asked for it.
Get Categories from PrestaShop#
Gets the product categories of a PrestaShop store, with an optional name search.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopGetCategories
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Name Contains | Text | No | (empty) | Only return categories whose name contains this text. |
| Limit | Number | No | 50 | Number of categories to return (default: 50). |
| Offset | Number | No | 0 | Number of categories to skip (default: 0). |
Outputs#
| Output | Type |
|---|---|
| Categories | List |
| Count | Number |
Use as an agent tool#
Tool name: prestashop_get_categories
List the product categories of a PrestaShop store with their parent category and whether they are active. Pass a name to search.
Get Customer Orders from PrestaShop#
Gets the orders of one PrestaShop customer, newest first.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopGetCustomerOrders
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Customer ID | Number | Yes | 0 | PrestaShop’s internal ID of the customer. |
| Limit | Number | No | 20 | Number of orders to return (default: 20). |
| Offset | Number | No | 0 | Number of orders to skip (default: 0). |
Outputs#
| Output | Type |
|---|---|
| Orders | List |
| Count | Number |
Use as an agent tool#
Tool name: prestashop_get_customer_orders
List the orders of one PrestaShop customer by customer ID, newest first. This is the merchant’s own data and must not be used to answer a customer asking about their order: use prestashop_get_order or prestashop_get_order_tracking for that, which check the customer’s email.
Get Customers from PrestaShop#
Searches the customers of a PrestaShop store by email or last name.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopGetCustomers
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Text | No | (empty) | Only return the customer with this exact email. | |
| Last Name Contains | Text | No | (empty) | Only return customers whose last name contains this text. |
| Limit | Number | No | 20 | Number of customers to return (default: 20). |
| Offset | Number | No | 0 | Number of customers to skip (default: 0). |
Outputs#
| Output | Type |
|---|---|
| Customers | List |
| Count | Number |
Use as an agent tool#
Tool name: prestashop_get_customers
Search a PrestaShop store’s customers by exact email or by part of the last name. This is the merchant’s own data and must not be used to answer a customer asking about their order: use prestashop_get_order or prestashop_get_order_tracking for that, which check the customer’s email.
Get Manufacturers from PrestaShop#
Gets the manufacturers (brands) of a PrestaShop store, with an optional name search.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopGetManufacturers
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Name Contains | Text | No | (empty) | Only return manufacturers whose name contains this text. |
| Limit | Number | No | 50 | Number of manufacturers to return (default: 50). |
| Offset | Number | No | 0 | Number of manufacturers to skip (default: 0). |
Outputs#
| Output | Type |
|---|---|
| Manufacturers | List |
| Count | Number |
Use as an agent tool#
Tool name: prestashop_get_manufacturers
List the manufacturers (brands) a PrestaShop store sells. Pass a name to search.
Get Order from PrestaShop#
Gets a single order from a PrestaShop store by order reference, returning it only when it belongs to the given customer email.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopGetOrder
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Customer Email | Text | Yes | (empty) | Email address the order was placed under. Ask the customer for it; the order is only returned when it belongs to this email. |
| Order Reference | Text | Yes | (empty) | Customer-facing order reference as it appears on the confirmation email or invoice (e.g. “XKBKNABJK”). |
Outputs#
| Output | Type |
|---|---|
| Found | Yes/No |
| Reference | Text |
| Customer Email | Text |
| Order Id | Number |
| Order Data | Object |
Use as an agent tool#
Tool name: prestashop_get_order
Get the status and details of one PrestaShop order. Requires BOTH the customer’s email address and the order reference; ask the customer for whichever one is missing instead of guessing. Returns the order only when that reference belongs to that email.
Get Order by ID from PrestaShop#
Gets one order from a PrestaShop store by its internal ID, with its product rows.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopGetOrderById
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Order ID | Number | Yes | 0 | PrestaShop’s internal ID of the order. |
Outputs#
| Output | Type |
|---|---|
| Found | Yes/No |
| Order | Object |
Use as an agent tool#
Tool name: prestashop_get_order_by_id
Get one PrestaShop order by its internal ID, with totals, payment method, state and the ordered products. This is the merchant’s own data and must not be used to answer a customer asking about their order: use prestashop_get_order or prestashop_get_order_tracking for that, which check the customer’s email.
Get Order States from PrestaShop#
Gets the order states a PrestaShop store uses, such as Shipped or Delivered.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopGetOrderStates
Outputs#
| Output | Type |
|---|---|
| Order States | List |
| Count | Number |
Use as an agent tool#
Tool name: prestashop_get_order_states
List the order states of a PrestaShop store (for example Payment accepted, Shipped, Delivered) with their IDs. Use it to read an order’s current_state or to pick a state for prestashop_update_order_status.
Get Order Tracking from PrestaShop#
Gets the shipping and status history of a PrestaShop order, only when it belongs to the given customer email.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopGetOrderTracking
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Customer Email | Text | Yes | (empty) | Email address the order was placed under. Ask the customer for it; the tracking is only returned when the order belongs to this email. |
| Order Reference | Text | Yes | (empty) | Customer-facing order reference as it appears on the confirmation email or invoice (e.g. “XKBKNABJK”). |
Outputs#
| Output | Type |
|---|---|
| Found | Yes/No |
| Reference | Text |
| Customer Email | Text |
| Tracking | Object |
Use as an agent tool#
Tool name: prestashop_get_order_tracking
Answer where a customer’s PrestaShop order is: current status, carrier, tracking number and link, and the status history. Requires BOTH the customer’s email address and the order reference; ask the customer for whichever one is missing instead of guessing. Returns nothing unless that reference belongs to that email.
Get Orders from PrestaShop#
Gets orders from a PrestaShop store, newest first, with pagination.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopGetOrders
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Order State | Text | No | (empty) | PrestaShop order state ID to restrict the list to. |
| Date From | Text | No | (empty) | Only return orders placed on or after this date (YYYY-MM-DD). |
| Date To | Text | No | (empty) | Only return orders placed on or before this date (YYYY-MM-DD). |
| Limit | Number | No | 20 | Number of orders to return (default: 20). |
| Offset | Number | No | 0 | Number of orders to skip (default: 0). |
Outputs#
| Output | Type |
|---|---|
| Orders | List |
| Count | Number |
Use as an agent tool#
Tool name: prestashop_get_orders
List a PrestaShop store’s recent orders, newest first. This returns the merchant’s own orders and must not be used to answer a customer asking about their order: use prestashop_get_order for that, which checks the order belongs to the customer’s email.
Get Product from PrestaShop#
Gets one product from a PrestaShop store by its ID, with description, price and images.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopGetProduct
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Product ID | Number | Yes | 0 | PrestaShop’s internal ID of the product. |
Outputs#
| Output | Type |
|---|---|
| Found | Yes/No |
| Product | Object |
Use as an agent tool#
Tool name: prestashop_get_product
Get the full details of one PrestaShop product by its ID: name, description, price (tax excluded), reference, category, images and combination IDs.
Get Product Combinations from PrestaShop#
Gets the combinations (variants such as size or colour) of a PrestaShop product.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopGetProductCombinations
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Product ID | Number | Yes | 0 | PrestaShop’s internal ID of the product. |
| Limit | Number | No | 50 | Number of combinations to return (default: 50). |
| Offset | Number | No | 0 | Number of combinations to skip (default: 0). |
Outputs#
| Output | Type |
|---|---|
| Combinations | List |
| Count | Number |
Use as an agent tool#
Tool name: prestashop_get_product_combinations
List the combinations of a PrestaShop product, PrestaShop’s name for variants such as size or colour, with each one’s reference, price impact and option value IDs.
Get Product Stock from PrestaShop#
Gets the available stock of a PrestaShop product, per combination.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopGetProductStock
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Product ID | Number | Yes | 0 | PrestaShop’s internal ID of the product. |
Outputs#
| Output | Type |
|---|---|
| Stock | List |
| Count | Number |
Use as an agent tool#
Tool name: prestashop_get_product_stock
Get how many units of a PrestaShop product are in stock. Returns one row per combination; the row with id_product_attribute 0 is the product’s total.
Get Products from PrestaShop#
Gets products from a PrestaShop store with pagination and a name search.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopGetProducts
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Name Contains | Text | No | (empty) | Only return products whose name contains this text. |
| Limit | Number | No | 20 | Number of products to return (default: 20). |
| Offset | Number | No | 0 | Number of products to skip (default: 0). |
Outputs#
| Output | Type |
|---|---|
| Products | List |
| Count | Number |
Use as an agent tool#
Tool name: prestashop_get_products
Get products from a PrestaShop store. Pass a name to search the catalogue for products whose name contains it.
Set Order Tracking Number in PrestaShop#
Sets the tracking number on a PrestaShop order’s shipment.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopSetOrderTrackingNumber
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Order ID | Number | Yes | 0 | PrestaShop’s internal ID of the order. |
| Tracking Number | Text | Yes | (empty) | The carrier’s tracking number for the parcel. |
Outputs#
| Output | Type |
|---|---|
| Success | Yes/No |
| Order Carrier | Object |
Use as an agent tool#
Tool name: prestashop_set_order_tracking_number
Set the parcel tracking number on a PrestaShop order’s shipment, so the customer can follow it.
Update Order Status in PrestaShop#
Moves a PrestaShop order to another order state.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopUpdateOrderStatus
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Order ID | Number | Yes | 0 | PrestaShop’s internal ID of the order. |
| Order State ID | Number | Yes | 0 | ID of the order state to move the order to. |
Outputs#
| Output | Type |
|---|---|
| Success | Yes/No |
| Order History | Object |
Use as an agent tool#
Tool name: prestashop_update_order_status
Move a PrestaShop order to another state, for example Shipped or Canceled. Get the state ID from prestashop_get_order_states first.
Update Product Price in PrestaShop#
Sets the base price of a PrestaShop product.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopUpdateProductPrice
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Product ID | Number | Yes | 0 | PrestaShop’s internal ID of the product. |
| Price | Number | Yes | 0 | New base price, tax excluded. |
Outputs#
| Output | Type |
|---|---|
| Success | Yes/No |
| Product | Object |
Use as an agent tool#
Tool name: prestashop_update_product_price
Set the base price of a PrestaShop product. PrestaShop stores it tax excluded, so pass the price before tax.
Update Stock in PrestaShop#
Sets the available quantity of a PrestaShop product or one of its combinations.
Plans: Trial, Pro, Premium, Enterprise · Type: PrestashopUpdateStock
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Product ID | Number | Yes | 0 | PrestaShop’s internal ID of the product. |
| Quantity | Number | No | 0 | The new available quantity. |
| Combination ID | Number | No | 0 | Combination to update; 0 for a product without combinations. |
Outputs#
| Output | Type |
|---|---|
| Success | Yes/No |
| Stock Available | Object |
Use as an agent tool#
Tool name: prestashop_update_stock
Set how many units of a PrestaShop product, or of one of its combinations, are in stock. The quantity replaces the current one rather than adding to it.