create_sales_order_in_unleashed
ChatGPTCreate a new sales order in Logistify and push it to Unleashed, as the Sales Orders screen and its Push to Unleashed button do. First find the customer with list_customers and each product with list_products, and use their ids; never guess an id. Before calling, read the order back to the person (customer, each product and quantity, any prices they gave, and the delivery date) and wait for a clear yes. A line without unit_price uses Unleashed's price for the customer when the company turned that on, or Logistify's price; a line with no price anywhere is refused. The customer and products must already be in Logistify. The order is created and its push is queued, not finished: call get_sales_order_push_status afterwards. Never call this twice for the same order; if the push did not start, use push_sales_orders_to_unleashed.
find_logistify_sales_orders
ChatGPTFind sales orders saved in Logistify by their order_numbers or Logistify order_ids, with each one's customer, dates, and whether it has been pushed to Unleashed. Use it to get the order_id values push_sales_orders_to_unleashed needs.
get_profile
ChatGPTReturn the Logistify person and company this connection is signed in as. The opaque id is unique within this app and stays the same across token refresh, reconnection, and display-metadata changes.
get_sales_order_push_status
ChatGPTShow what happened when Logistify sales orders were pushed to Unleashed. Only the state pushed means Unleashed accepted the order; pending and in_progress mean it is still running. Use it after push_sales_orders_to_unleashed, before telling the person the orders are in Unleashed.
get_unleashed_import_status
ChatGPTSay which Unleashed customers, products, or sales orders are already in Logistify. Use it after an import, before telling the person the records were imported, or before importing to avoid repeats.
import_customers_from_unleashed
ChatGPTCreate customers in Logistify from Unleashed customers (ids from list_customers), as the Unleashed import screen does. Customers already in Logistify are skipped. Confirm with the person first. The import is queued: call get_unleashed_import_status afterwards to see the result.
import_products_from_unleashed
ChatGPTCreate products in Logistify from Unleashed products (ids from list_products), as the Unleashed import screen does. Products already in Logistify are skipped. Confirm with the person first. The import is queued: call get_unleashed_import_status afterwards to see the result.
import_sales_orders_from_unleashed
ChatGPTCreate sales orders in Logistify from Unleashed sales orders (ids from list_sales_orders), as the Unleashed import screen does. Import the customers and products first. Orders already in Logistify are skipped. Confirm with the person first. The import is queued: call get_unleashed_import_status afterwards.
list_customers
ChatGPTFind customers in the company's Unleashed account. When the person names a customer, search with name_contains, which matches the customer code or name and pays attention to capital letters; let the person choose if several match. Leave it out to browse. Contact details are not included. Returns one page; pass next_cursor back with the same other inputs for the next page.
list_products
ChatGPTFind products in the company's Unleashed account. Search with name_contains, which matches the product code or description; look up exact product_ids; or browse. The price shown is the default sell price only. Returns one page; pass next_cursor back with the same other inputs for the next page.
list_purchase_orders
ChatGPTList purchase orders in the company's Unleashed account for one supplier (supplier_code from list_suppliers), or find one order by order_number; one of the two is required. Lines, with received quantities, are included unless include_line_items is false. Only the exact supplier is kept, so a page can be short while next_cursor still leads to more. Pass next_cursor back with the same other inputs for the next page.
list_sales_orders
ChatGPTList sales orders in the company's Unleashed account for one or more customers (customer_ids from list_customers), or find one order by order_number; one of the two is required. With customers you may also filter by order_statuses and an order date range. Lines are included unless include_line_items is false. Returns one page; pass next_cursor back with the same other inputs for the next page.
list_suppliers
ChatGPTList suppliers in the company's Unleashed account. Unleashed cannot search suppliers by name; use code_starts_with to keep suppliers whose code starts with the text, or browse. Contact details are not included. Returns one page; pass next_cursor back with the same other inputs for the next page.
list_unleashed_connections
ChatGPTList the company's Unleashed connections in Logistify, with their connection_id values. Use it when another tool says the company has more than one, then ask the person which one they mean.
list_warehouses
ChatGPTList the warehouses in the company's Unleashed account, one page at a time.
push_sales_orders_to_unleashed
ChatGPTCreate Logistify sales orders as new sales orders in Unleashed, as the Push to Unleashed button in Logistify does. Use order_id values from find_logistify_sales_orders. Confirm the orders with the person first. Orders already in Unleashed are skipped. The push is queued, not finished: call get_sales_order_push_status afterwards to see whether Unleashed accepted each order.