---
title: Heartland Retail API Integration on Truto
slug: heartlandretail
category: CRM
canonical: "https://truto.one/integrations/detail/heartlandretail/"
---

# Heartland Retail API Integration on Truto



**Category:** CRM  
**Status:** Beta

## MCP-ready AI tools

Truto exposes 168 tools for Heartland Retail that AI agents can call directly.

- **create_a_heartland_retail_coupon** — Create a coupon. Coupons are created by POSTing a coupon record containing at least the required attributes to the /api/coupons resource. POST /api/coupons. Required: name, code.
- **delete_a_heartland_retail_coupon_by_id** — Delete a coupon. DELETE /api/coupons/{coupon_id}. Required: id.
- **get_single_heartland_retail_coupon_by_id** — Retrieve a coupon. Coupons are retrieved via their unique id. The id can be found via a search. GET /api/coupons/{coupon_id}. Required: id.
- **list_all_heartland_retail_coupons** — Search Coupons. Coupons can be searched by GETting the root of the Coupons resource. This API call will result in a search result record containing zero or more coupon records in the results attribute. See Search Results for more information on search results. GET /api/coupons. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_coupon_by_id** — Update a coupon. Coupons can be edited by PUTting a coupon record containing a valid subset of coupon attributes to the coupon's resource URL. PUT /api/coupons/{coupon_id}. Required: id.
- **create_a_heartland_retail_custom_field** — Create a custom field. Custom fields are created by POSTing a custom field record containing the required attributes to the /api/custom_fields resource. When successful, the response headers will contain a location header that indicates the url at which the newly created custom field can be found. The custom field's unique id will be the last portion of that URL. POST /api/custom_fields. Required: group_id, name.
- **get_single_heartland_retail_custom_field_by_id** — Retrieve a custom field. Custom fields are retrieved from the Heartland Retail API via their unique id. The id can be found via searches or from the location header in a Create Custom Field response. GET /api/custom_fields/{custom_field_id}. Required: id.
- **list_all_heartland_retail_custom_fields** — Search custom fields. Custom fields can be searched by GETting the root of the custom field resource /api/custom_fields . This API call will result in a search result record containing zero or more custom field records in the values attribute. See Search Results for more information on search results. Custom fields can be filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/custom_fields. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_custom_field_by_id** — Update a custom field. Custom Fields can be edited by PUTting a custom field record containing a valid subset of custom field attributes to the custom field's resource URL. PUT /api/custom_fields/{custom_field_id}. Required: id.
- **create_a_heartland_retail_customer_address** — Create an address. You are able to create multiple addresses per customer each with their own address_id that can be used to specify the customer's address preferences. To assign an address to be the default, billing, or shipping address you must create or retrieve an address to get the address_id which can then be used to update the customer record. By specifying the address_id when updating the customer, you are able to set the default address. You are also able to specify a shipping_address_id or a… POST /api/customers/{customer_id}/addresses. Required: customer_id, first_name.
- **get_single_heartland_retail_customer_address_by_id** — Retrieve an address. An address is retrieved using its unique identifier. This identifier can be found by searching for all addresses attached to a customer, from references in other records, or from the location header returned in response to the creation of a new address. GET /api/customers/{customer_id}/addresses/{address_id}. Required: id, customer_id.
- **list_all_heartland_retail_customer_addresses** — List customer addresses. You can retrieve all addresses currently attached to a customer by using the customer's unique identifier. This identifier can be found by searching for customers, from references in other records, or from the location header returned in response to the creation of a new customer. GET /api/customers/{customer_id}/addresses. Required: customer_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_customer_address_by_id** — Update an address. An address can be modified by sending a PUT request to the record's unique URL. The contents of the request must contain a valid subset of address record attributes. PUT /api/customers/{customer_id}/addresses/{address_id}. Required: id, customer_id.
- **create_a_heartland_retail_customer** — Create a customer. To create a customer you must specify at least a first name or a last name. Only one of those two values is actually required. POST /api/customers. Required: first_name.
- **get_single_heartland_retail_customer_by_id** — Retrieve a customer. A Customer is retrieved using its unique identifiers. This identifier can be found by searching for customers, from references in other records, or from the location header returned in response to the creation of a new customer. GET /api/customers/{customer_id}. Required: id.
- **list_all_heartland_retail_customers** — Search customers. Customers can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/customers. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **heartland_retail_customers_merge** — Merge customers. If you have duplicate customers and would like to combine them into one customer you can do so using the merges API. This will combine their sales history and customer data. The base customer specified in the URL is considered the "master" customer. Include an array of slave_ids in the request body. These "slave" customers will be deleted after having their data combined into the master. POST /api/customers/{customer_id}/merges. Required: customer_id.
- **update_a_heartland_retail_customer_by_id** — Update a customer. A customer can be modified by sending a PUT request to the record's unique URL. The contents of the request must contain a valid subset of customer record attribute. PUT /api/customers/{customer_id}. Required: id.
- **list_all_heartland_retail_gift_card_adjustment_reasons** — Search reason codes. Gift Card Adjustment Reasons can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/reason_codes/gift_card_adjustment_reasons. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_gift_card_adjustment** — Create a gift card adjustment. Gift Card Adjustments are created by POSTing a gift card adjustment record containing the required attributes to the /api/gift_card/adjustments resource. POST /api/gift_card/adjustments. Required: gift_card_id, reason_id, delta_balance.
- **get_single_heartland_retail_gift_card_adjustment_by_id** — Get a gift card adjustment. Gift Card Adjustments can be fetched by GETting the gift card adjustment's resource URL. GET /api/gift_card/adjustments/{adjustment_id}. Required: id.
- **list_all_heartland_retail_gift_card_adjustments** — Search gift card adjustments. Gift Card Adjustments can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/gift_card/adjustments. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_gift_card** — Create a gift card. Gift Cards are created by POSTing a gift card record containing the required attributes to the /api/gift_cards resource. When successful, the response headers will contain a location header that indicates the url at which the newly created gift card can be found. The gift card's unique number will be the last portion of that URL. For more information on available adjustment reasons see Gift Card Adjustment Reasons . POST /api/gift_cards. Required: number.
- **get_single_heartland_retail_gift_card_by_id** — Get a gift card by its number. Gift Cards can be fetched by GETting the gift card number's URL. GET /api/gift_cards/{gift_card_number}. Required: id.
- **list_all_heartland_retail_gift_cards** — Search gift cards. Gift Cards can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . Always returns 403 if Gift Cards are being processed externally. GET /api/gift_cards. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_inventory_adjustment_set_line** — Add an item to an adjustment set. Adds an item with the given qty to the adjustment set. This method can also be used to increment the quantity of an existing item line. POST /api/inventory/adjustment_sets/{adjustment_set_id}/lines. Required: adjustment_set_id.
- **list_all_heartland_retail_inventory_adjustment_set_lines** — Retrieve an adjustment set's lines. An adjustment set has zero or more associated lines. GET /api/inventory/adjustment_sets/{adjustment_set_id}/lines. Required: adjustment_set_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_inventory_adjustment_set** — Create an adjustment set. Creating an adjustment set requires an adjustment reason id and a location id. The location id is used to determine where the adjustment set will be applied. POST /api/inventory/adjustment_sets. Required: adjustment_reason_id, location_id, status.
- **get_single_heartland_retail_inventory_adjustment_set_by_id** — Retrieve an adjustment set. An adjustment set is retrieved using its unique identifier. This identifier can be found by searching for adjustment sets, from references in other records, or from the location header returned in response to the creation of a new adjustment set. GET /api/inventory/adjustment_sets/{adjustment_set_id}. Required: id.
- **list_all_heartland_retail_inventory_adjustment_sets** — Search adjustment sets. Adjustment sets can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/inventory/adjustment_sets. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_inventory_adjustment_set_by_id** — Update an adjustment set. Adjustment sets can be edited by PUTting a record containing a valid subset of adjustment set attributes to the adjustment sets resource URL. To complete an adjustment set, you will just need to set the status to "complete". PUT /api/inventory/adjustment_sets/{adjustment_set_id}. Required: id.
- **list_all_heartland_retail_inventory_transactions** — Search inventory transactions. Searching and filtering inventory transactions is done via a GET request to /api/inventory/transactions . GET /api/inventory/transactions. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **get_single_heartland_retail_inventory_transfer_event_line_by_id** — Get an inventory transfer event line. Inventory Transfer Event Lines can be fetched by GETting the inventory transfer event line's resource URL. GET /api/inventory/transfers/{transfer_id}/event_lines/{line_id}. Required: id, transfer_id.
- **list_all_heartland_retail_inventory_transfer_event_lines** — Search inventory transfer event lines. Inventory Transfer Event Lines can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/inventory/transfers/{transfer_id}/event_lines. Required: transfer_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **get_inventory_transfer_event_lines_of_event_by_id** — Get an inventory transfer event line of an event. Inventory Transfer Event Lines can be fetched by GETting the inventory transfer event line's resource URL. GET /api/inventory/transfers/{transfer_id}/events/{event_id}/lines/{line_id}. Required: id, transfer_id, event_id.
- **list_all_inventory_transfer_event_lines_of_event** — Search inventory transfer event lines of an event. Inventory Transfer Event Lines can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/inventory/transfers/{transfer_id}/events/{event_id}/lines. Required: transfer_id, event_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **get_single_heartland_retail_inventory_transfer_event_by_id** — Get an inventory transfer event. Inventory Transfer Events can be fetched by GETting the inventory transfer event's resource URL. GET /api/inventory/transfers/{transfer_id}/events/{event_id}. Required: id, transfer_id.
- **list_all_heartland_retail_inventory_transfer_events** — Search inventory transfer events. Inventory Transfer Events can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/inventory/transfers/{transfer_id}/events. Required: transfer_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **heartland_retail_inventory_transfer_lines_bulk_update** — Update inventory transfer lines in bulk. Inventory Transfer Lines can be edited in bulk by PUTting an inventory transfer line record containing a valid subset of inventory transfer line attributes and providing the list of transfer line ids to update to the inventory transfer lines resource URL. PUT /api/inventory/transfers/{transfer_id}/lines. Required: transfer_id.
- **create_a_heartland_retail_inventory_transfer_line** — Create an inventory transfer line. Inventory Transfer Lines are created by POSTing a inventory transfer line record containing the required attributes to the /api/inventory/transfers/{{transfer_id}}/lines resource. POST /api/inventory/transfers/{transfer_id}/lines. Required: transfer_id, status.
- **delete_a_heartland_retail_inventory_transfer_line_by_id** — Delete an inventory transfer line. Inventory Transfer Lines can be deleted by sending a DELETE request to the inventory transfer line's resource URL. Also: Delete inventory transfer lines in bulk - Inventory Transfer Lines can be deleted in bulk by sending a DELETE request with transfer line ids to the to the transfer lines resource URL. DELETE /api/inventory/transfers/{transfer_id}/lines/{line_id}. Required: id, transfer_id.
- **get_single_heartland_retail_inventory_transfer_line_by_id** — Get an inventory transfer line. Inventory Transfer Lines can be fetched by GETting the inventory transfer line's resource URL. GET /api/inventory/transfers/{transfer_id}/lines/{line_id}. Required: id, transfer_id.
- **list_all_heartland_retail_inventory_transfer_lines** — Search inventory transfer lines. Inventory Transfer Lines can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/inventory/transfers/{transfer_id}/lines. Required: transfer_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_inventory_transfer_line_by_id** — Update an inventory transfer line. Inventory Transfer Lines can be edited by PUTting an inventory transfer line record containing a valid subset of inventory transfer line attributes to the inventory transfer line's resource URL. PUT /api/inventory/transfers/{transfer_id}/lines/{line_id}. Required: id, transfer_id.
- **inventory_transfer_lines_from_shipment_bulk_update** — Update inventory transfer lines from shipment. Inventory Transfer Lines can be updated in bulk by PUTting a specifically crafted collection where keys are transfer lines ids, and values are updates. PUT /api/inventory/transfers/{transfer_id}/transfer_lines. Required: transfer_id.
- **list_all_heartland_retail_inventory_transfer_lines_with_items** — Search inventory transfer lines with items. This endpoint exposes Inventory Transfer Lines with embedded items for each line. GET /api/inventory/transfers/{transfer_id}/transfer_lines. Required: transfer_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_inventory_transfer_shipment** — Create an inventory transfer shipment. Inventory Transfers Shipments are created by POSTing a inventory transfer shipment record containing the required attributes to the shipments resource. POST /api/inventory/transfers/{transfer_id}/shipments. Required: transfer_id, status.
- **create_a_heartland_retail_inventory_transfer** — Create an inventory transfer. Inventory Transfers are created by POSTing a inventory transfer record containing the required attributes to the /api/inventory/transfers resource. POST /api/inventory/transfers. Required: status.
- **get_single_heartland_retail_inventory_transfer_by_id** — Get an inventory transfer. Inventory Transfers can be fetched by GETting the inventory transfer's resource URL. GET /api/inventory/transfers/{transfer_id}. Required: id.
- **list_all_heartland_retail_inventory_transfers** — Search inventory transfers. Inventory Transfers can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/inventory/transfers. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_inventory_transfer_by_id** — Update an inventory transfer. Inventory Transfers can be edited by PUTting an inventory transfer record containing a valid subset of inventory transfer attributes to the inventory transfer's resource URL. PUT /api/inventory/transfers/{transfer_id}. Required: id.
- **list_all_heartland_retail_inventory_values** — Retrieve inventory value totals. This will return the total combined inventory values for all items and locations. You can optionally pass the query parameter group[]=location_id to get the totals by location. Also: Retrieve inventory values by item - Inventory values are retrieved via a GET request to /api/inventory/values with the query parameter group[]=item_id . A result is returned for each item that has an inventory history. Items that have never been received, adjusted, counted, sold, or returned will not be present as… GET /api/inventory/values. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **list_all_heartland_retail_invoice_lines** — Retrieve an invoice's lines. A sales invoice has zero or more associated lines. Lines can be any of the following types: ItemLine - The sale or return of an item TaxLine - Sales tax charge or refund DiscountLine - Discount to another type of line ShippingLine - Shipping charge, discount or refund. GET /api/sales/invoices/{invoice_id}/lines. Required: invoice_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_invoice** — Create an invoice. Creating sales invoices requires you to have a station id and a sales order id. The station id is used to determine which location's inventory to alter as a result of the sales invoice and the order id is used to determine what should be invoiced and which customer should receive it. POST /api/sales/invoices. Required: type.
- **get_single_heartland_retail_invoice_by_id** — Retrieve an invoice. A sales invoice is retrieved using its unique identifiers. This identifier can be found by searching for invoices, from references in other records, or from the location header returned in response to the creation of a new sales invoices. GET /api/sales/invoices/{invoice_id}. Required: id.
- **list_all_heartland_retail_invoices** — Search invoices. Sales invoices can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/sales/invoices. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_invoice_by_id** — Update an invoice. A sales invoice can be modified by sending a PUT request to the record's unique URL. The contents of the request must contain a valid subset of sales invoice record attribute. PUT /api/sales/invoices/{invoice_id}. Required: id.
- **create_a_heartland_retail_item_grid** — Create an item grid. Item grids are created by POSTing an item grid record containing the required attributes to the /api/item_grids resource. When successful, the response headers will contain a location header that indicates the url at which the newly created item grid can be found. The item grid's unique id will be the last portion of that URL. POST /api/item_grids. Required: description.
- **get_single_heartland_retail_item_grid_by_id** — Retrieve an item grid. Item grids are retrieved from the Heartland Retail API via their unique id. The id can be found via searches, references from other records, or from the location header in a Create Item grid response. GET /api/item_grids/{item_grid_id}. Required: id.
- **list_all_heartland_retail_item_grids** — Search item grids. Item grids can be searched by GETting the root of the item grids resource /api/item_grids . This API call will result in a search result record containing zero or more item grid records in the values attribute. See Search Results for more information on search results. Item grids can be filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/item_grids. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_item_grid_by_id** — Update an item grid. Item grids can be edited by PUTting an item grid record containing a valid subset of item grid attributes to the item grid's resource URL. If the quantity of the item in the grid exceeds the maximum quantity configured, the update process will switch to asynchronous mode. Whether it is synchronous or asynchronous updates, if the update is not completed and the user initiates the same update request again, it will fail, and an error message will be returned. PUT /api/item_grids/{item_grid_id}. Required: id.
- **create_a_heartland_retail_item** — Create an item. Items are created by POSTing an item record containing the required attributes to the /api/items resource. When successful, the response headers will contain a location header that indicates the url at which the newly created item can be found. The item's unique id will be the last portion of that URL. POST /api/items. Required: cost, price, description.
- **get_single_heartland_retail_item_by_id** — Retrieve an item. Items are retrieved from the Heartland Retail API via their unique id. The id can be found via searches, references from other records, or from the location header in a Create Item response. GET /api/items/{item_id}. Required: id.
- **list_all_heartland_retail_items** — Search items. Items can be searched by GETting the root of the items resource /api/items . This API call will result in a search result record containing zero or more item records in the values attribute. See Search Results for more information on search results. Items can be filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/items. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **heartland_retail_items_merge** — Merge items. If you have duplicate items and would like to combine them into one item you can do so using the merges API. This will combine their open inventory quantities, inventory histories, and sales histories. The base item specified in the URL is considered the "master" item. Include an array of slave_ids in the request body. These "slave" items will be deleted after having their data combined into the master. POST /api/items/{item_id}/merges. Required: item_id.
- **update_a_heartland_retail_item_by_id** — Update an item. Items can be edited by PUTting an item record containing a valid subset of item attributes to the item's resource URL. PUT /api/items/{item_id}. Required: id.
- **list_all_heartland_retail_locations** — Search locations. Search for and list locations. GET /api/locations. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_payment_type** — Create payment type. Payment types are created by POSTing a payment type record containing the required attributes to the /api/payment_types resource. POST /api/payment_types. Required: name.
- **get_single_heartland_retail_payment_type_by_id** — Get a payment type. Payment types can be fetched by GETting the payment type's resource URL. GET /api/payment_types/{payment_type_id}. Required: id.
- **list_all_heartland_retail_payment_types** — Search payment types. Payment Types can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/payment_types. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_payment_type_by_id** — Update a payment type. Payment types can be edited by PUTting a payment type record containing a valid subset of payment type attributes to the payment type's resource URL. PUT /api/payment_types/{payment_type_id}. Required: id.
- **list_all_heartland_retail_permissions** — Search permissions. Permissions can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/permissions. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_promotion_rule** — Create a promotion rule. Promotion rules are created by POSTing a promotion rule record containing at least the required attributes to the /api/promotion_rules resource. POST /api/promotion_rules. Required: name.
- **delete_a_heartland_retail_promotion_rule_by_id** — Delete a promotion rule. DELETE /api/promotion_rules/{promotion_rule_id}. Required: id.
- **get_single_heartland_retail_promotion_rule_by_id** — Retrieve a promotion rule. Promotion rules are retrieved via their unique id. The id can be found via a search. GET /api/promotion_rules/{promotion_rule_id}. Required: id.
- **list_all_heartland_retail_promotion_rules** — Search promotion rules. Promotion rules can be searched by GETting the root of the promotion rules resource. This API call will result in a search result record containing zero or more promotion rule records in the results attribute. See Search Results for more information on search results. GET /api/promotion_rules. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_promotion_rule_by_id** — Update a promotion rule. Promotion rules can be edited by PUTting a promotion rule record containing a valid subset of promotion rule attributes to the promotion rule's resource URL. PUT /api/promotion_rules/{promotion_rule_id}. Required: id.
- **create_a_heartland_retail_purchase_order_line** — Add an item to a purchase order. Adds an item with the given qty to the purchase order. This method can also be used to increment the quantity of an existing item line. POST /api/purchasing/orders/{purchase_order_id}/lines. Required: purchase_order_id.
- **list_all_heartland_retail_purchase_order_lines** — Retrieve a purchase orders's lines. A purchase order has zero or more associated lines. GET /api/purchasing/orders/{purchase_order_id}/lines. Required: purchase_order_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_purchase_order** — Create a purchase order. Creating a purchase order requires a vendor and the location id. The location id is used to determine where the order will be received. POST /api/purchasing/orders. Required: vendor_id, receive_at_location_id, status.
- **get_single_heartland_retail_purchase_order_by_id** — Retrieve a purchase order. A purchase order is retrieved using its unique identifier. This identifier can be found by searching for purchase orders, from references in other records, or from the location header returned in response to the creation of a new purchase order. GET /api/purchasing/orders/{purchase_order_id}. Required: id.
- **create_a_heartland_retail_purchase_receipt_line** — Add an item to a receipt. Adds an item with the given qty to the receipt. This method can also be used to modify the quantity of an existing item line. POST /api/purchasing/receipts/{purchase_receipt_id}/lines. Required: purchase_receipt_id.
- **list_all_heartland_retail_purchase_receipt_lines** — Retrieve a receipt's lines. A receipt has zero or more associated lines. GET /api/purchasing/receipts/{purchase_receipt_id}/lines. Required: purchase_receipt_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_purchase_receipt** — Create a receipt. Creating a purchase receipt requires a vendor and the location id. The location id is used to determine where the inventory is being received. POST /api/purchasing/receipts. Required: status.
- **get_single_heartland_retail_purchase_receipt_by_id** — Retrieve a receipt. A receipt is retrieved using its unique identifier. This identifier can be found by searching for receipts, from references in other records, or from the location header returned in response to the creation of a new purchase order. GET /api/purchasing/receipts/{purchase_receipt_id}. Required: id.
- **create_a_heartland_retail_purchase_return_line** — Add an item to a return. Adds an item with the given qty to the purchase return. This method can also be used to modify the quantity of an existing item line. POST /api/purchasing/returns/{purchase_return_id}/lines. Required: purchase_return_id.
- **list_all_heartland_retail_purchase_return_lines** — Retrieve a return's lines. A purchase return has zero or more associated lines. GET /api/purchasing/returns/{purchase_return_id}/lines. Required: purchase_return_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_purchase_return** — Create a return. Creating a purchase return requires a vendor and the location id. The location id is used to determine where the inventory is coming from. POST /api/purchasing/returns. Required: status.
- **get_single_heartland_retail_purchase_return_by_id** — Retrieve a return. A purchase return is retrieved using its unique identifier. This identifier can be found by searching for purchase return, from references in other records, or from the location header returned in response to the creation of a new purchase return. GET /api/purchasing/returns/{purchase_return_id}. Required: id.
- **create_a_heartland_retail_purchase_vendor** — Create a vendor. Purchase vendors are created by POSTing a purchase vendor record containing the required attributes to the /api/purchasing/vendors resource. When successful, the response headers will contain a location header that indicates the url at which the newly created purchase vendor can be found. The vendor's unique id will be the last portion of that URL. POST /api/purchasing/vendors. Required: name.
- **get_single_heartland_retail_purchase_vendor_by_id** — Retrieve a purchase vendor. Purchase vendors are retrieved from the Heartland Retail API via their unique id. The id can be found via searches, references from other records, or from the location header in a Create Purchase Vendor response. GET /api/purchasing/vendors/{vendor_id}. Required: id.
- **list_all_heartland_retail_purchase_vendors** — Search purchase vendors. Purchase vendors can be searched by GETting the root of the purchase vendors resource /api/purchasing/vendors . This API call will result in a search result record containing zero or more purchase vendor records in the values attribute. See Search Results for more information on search results. Purchase vendors can be filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/purchasing/vendors. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_purchase_vendor_by_id** — Update a purchase vendor. Purchase vendors can be edited by PUTting a purchase vendor record containing a valid subset of purchase vendor attributes to the purchase vendor's resource URL. PUT /api/purchasing/vendors/{vendor_id}. Required: id.
- **heartland_retail_reporting_analyzer_lookup** — Reporting API. Report metrics grouped by dimension fields (see the Metrics and Groups sections). GET /api/reporting/analyzer. Required: metrics.
- **create_a_heartland_retail_role_alert_type** — Subscribe the role to a new alert type. Alert types can be added to roles by POSTing their IDs to the role's alert types resource. When successful, the response headers will contain a location header that indicates the url at which the newly created alert subscription can be found. The alert subscription's unique id will be the last portion of that URL. POST /api/roles/{role_id}/alert_types. Required: role_id.
- **delete_a_heartland_retail_role_alert_type_by_id** — Unsubscribe the role from an alert type. Alert types can be removed from roles by sending a DELETE request to the role alert type's resource. DELETE /api/roles/{role_id}/alert_types/{alert_type_id}. Required: id, role_id.
- **get_single_heartland_retail_role_alert_type_by_id** — Get an alert type of the role. Role alert type can be fetched by GETting the role alert type's resource URL. GET /api/roles/{role_id}/alert_types/{alert_type_id}. Required: id, role_id.
- **list_all_heartland_retail_role_alert_types** — Search alert types of the role. Roles alert types can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/roles/{role_id}/alert_types. Required: role_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_role_permission** — Add a new permission to the role. Permissions can be added to roles by PUTing their IDs to the role's permissions resource. PUT /api/roles/{role_id}/permissions. Required: role_id.
- **delete_a_heartland_retail_role_permission_by_id** — Remove a permission from the role. Remove a permission from the role by sending a DELETE request to the role permission's URL. DELETE /api/roles/{role_id}/permissions/{permission_id}. Required: id, role_id.
- **get_single_heartland_retail_role_permission_by_id** — Get a permission of the role. Role permissions can be fetched by GETting the role permission's resource URL. GET /api/roles/{role_id}/permissions/{permission_id}. Required: id, role_id.
- **list_all_heartland_retail_role_permissions** — Search permissions of the role. Roles permissions can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/roles/{role_id}/permissions. Required: role_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_role_user** — Add the role to users. Users can be added to roles by POSTing their IDs to the role's users resource. POST /api/roles/{role_id}/users. Required: role_id, users.
- **heartland_retail_role_users_detach** — Remove the role from users. Users can be removed from roles by sending a DELETE request with their IDs to the role users resource. DELETE /api/roles/{role_id}/users. Required: role_id, users.
- **list_all_heartland_retail_role_users** — Search users of the role. Roles users can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/roles/{role_id}/users. Required: role_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_role** — Create role. Roles are created by POSTing a role record containing the required attributes to the /api/roles resource. POST /api/roles. Required: name.
- **delete_a_heartland_retail_role_by_id** — Delete a role. Roles can be deleted by sending a DELETE request the role's resource URL. DELETE /api/roles/{role_id}. Required: id.
- **get_single_heartland_retail_role_by_id** — Get a role. Roles can be fetched by GETting the role's resource URL. GET /api/roles/{role_id}. Required: id.
- **list_all_heartland_retail_roles** — Search roles. Roles can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/roles. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_role_by_id** — Update a role. Roles can be edited by PUTting a role record containing a valid subset of role attributes to the role's resource URL. PUT /api/roles/{role_id}. Required: id.
- **create_a_heartland_retail_sales_order_line** — Add an item to a sales order. An item line indicates the sale or return of an item . This method can also be used to modify the quantity of an existing item line. Also: Add an item to a sales order with discounts - It's possible to embed order line discounts when adding an item to an order. This will make the price of the line drop the amount specified by the sum of discounts. POST /api/sales/orders/{order_id}/lines. Required: order_id.
- **list_all_heartland_retail_sales_order_lines** — Retrieve a sales orders's lines. A sales order has zero or more associated item lines. GET /api/sales/orders/{order_id}/lines. Required: order_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_sales_order_line_by_id** — Distribute an item line on a sales order. Distributing an item line designates the location that item will be fulfilled from. You must specify the ship_from_location_id. PUT /api/sales/orders/{order_id}/lines/{line_id}. Required: id, order_id.
- **create_a_heartland_retail_sales_order_payment** — Add a payment to a sales order. Adds a payment with the given amount and method to the order. See the payment data type for more details. A sales order stores the payment information to be captured either immediately or upon shipment of the order (fulling the invoice). There must be sufficent payments added to the order before it can be moved to the Open status. POST /api/sales/orders/{order_id}/payments. Required: order_id.
- **create_a_heartland_retail_sales_order** — Create a sales order. Creating sales orders requires you to have a customer_id , a station_id and a source_location_id . The customer_id is used to determine which customers is placing the order. And the source location_id is which location will be credited for the sale once the order has been invoiced. POST /api/sales/orders. Required: customer_id, station_id, source_location_id.
- **get_single_heartland_retail_sales_order_by_id** — Retrieve a sales order. A sales order is retrieved using its unique identifiers. This identifier can be found by searching for orders, from references in other records, or from the location header returned in response to the creation of a new sales order. GET /api/sales/orders/{order_id}. Required: id.
- **list_all_heartland_retail_sales_orders** — Search sales orders. Sales orders can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/sales/orders. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_sales_order_by_id** — Update a sales order. A sales order can be modified by sending a PUT request to the record's unique URL. The contents of the request must contain a valid subset of sales order record attribute Also: Add shipping to a sales order - A sales order can record a shipping method and amount to charge for the shipment. To add a shipping method you need the shipping_method_id and the shipping_charge_amount . PUT /api/sales/orders/{order_id}. Required: id.
- **create_a_heartland_retail_shipping_method** — Create a shipping method. Shipping Methods are created by POSTing a shipping method record containing the required attributes to the /api/shipping/methods resource. The amount specified on a shipping method is the default amount if no amount is specified on the order. POST /api/shipping/methods. Required: name, amount.
- **get_single_heartland_retail_shipping_method_by_id** — Get a shipping method. Shipping Methods can be fetched by GETting the shipping method's resource URL. GET /api/shipping/methods/{method_id}. Required: id.
- **list_all_heartland_retail_shipping_methods** — Search shipping methods. Shipping Methods can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/shipping/methods. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_shipping_method_by_id** — Update a shipping method. Shipping Methods can be edited by PUTting an shipping method record containing a valid subset of shipping method attributes to the shipping method's resource URL. PUT /api/shipping/methods/{method_id}. Required: id.
- **create_a_heartland_retail_tax_jurisdiction** — Create a tax jurisdiction. Tax Jurisdictions are created by POSTing a tax jurisdiction record containing the required attributes to the /api/sales/tax_jurisdictions resource. POST /api/sales/tax_jurisdictions.
- **delete_a_heartland_retail_tax_jurisdiction_by_id** — Delete a tax jurisdiction. Tax Jurisdictions can be deleted by sending a DELETE request to the tax jurisdiction's resource URL. DELETE /api/sales/tax_jurisdictions/{jurisdiction_id}. Required: id.
- **get_single_heartland_retail_tax_jurisdiction_by_id** — Get a tax jurisdiction. Tax Jurisdictions can be fetched by GETting the tax jurisdiction's resource URL. GET /api/sales/tax_jurisdictions/{jurisdiction_id}. Required: id.
- **list_all_heartland_retail_tax_jurisdictions** — Search tax jurisdictions. Tax Jurisdictions can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/sales/tax_jurisdictions. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_tax_jurisdiction_by_id** — Update a tax jurisdiction. Tax Jurisdictions can be edited in bulk by PUTting a tax jurisdiction record containing a valid subset of tax jurisdiction attributes to the tax jurisdiction's resource URL. PUT /api/sales/tax_jurisdictions/{jurisdiction_id}. Required: id.
- **heartland_retail_tax_rules_bulk_remove** — Delete tax rules in bulk. Tax Rules can be deleted in bulk by sending a DELETE request with tax rules ids to the tax rules resource URL. DELETE /api/sales/tax_rules.
- **heartland_retail_tax_rules_bulk_update** — Update tax rules in bulk. Tax Rules can be edited in bulk by PUTting a tax rule record containing a valid subset of tax rule attributes to the tax rule's resource URL. PUT /api/sales/tax_rules.
- **create_a_heartland_retail_tax_rule** — Create a tax rule. Tax Rules are created by POSTing a tax rule record containing the required attributes to the /api/sales/tax_rules resource. POST /api/sales/tax_rules. Required: type, tax_amount_below_minimum, archived.
- **delete_a_heartland_retail_tax_rule_by_id** — Delete a tax rule. Tax Rules can be deleted by sending a DELETE request to the tax rule's resource URL. DELETE /api/sales/tax_rules/{rule_id}. Required: id.
- **get_single_heartland_retail_tax_rule_by_id** — Get a tax rule. Tax Rules can be fetched by GETting the tax rule's resource URL. GET /api/sales/tax_rules/{rule_id}. Required: id.
- **list_all_heartland_retail_tax_rules** — Search tax rules. Tax Rules can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/sales/tax_rules. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_tax_rule_by_id** — Update a tax rule. Tax Rules can be edited by PUTting a tax rule record containing a valid subset of tax rule attributes and providing the list of tax rules ids to update to the tax rules resource URL. PUT /api/sales/tax_rules/{rule_id}. Required: id.
- **create_a_heartland_retail_ticket_item_line** — Add an item line to a ticket. An item line indicates the sale or return of an item . This method can also be used to modify the quantity of an existing item line. Tickets are limited to 500 item lines per ticket. Attempting to add more than that will return an error. POST /api/sales/tickets/{ticket_id}/item_lines. Required: ticket_id.
- **list_all_heartland_retail_ticket_lines** — Retrieve a ticket's lines. A sales ticket has zero or more associated lines. Lines can be any of the following types: ItemLine - The sale or return of an item TaxLine - Sales tax charge or refund DiscountLine - Discount to another type of line ShippingLine - Shipping charge, discount or refund. GET /api/sales/tickets/{ticket_id}/lines. Required: ticket_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_ticket_payment** — Add a payment to a ticket. Adds a payment with the given amount and method to the ticket. See the payment data type for more details. POST /api/sales/tickets/{ticket_id}/payments. Required: ticket_id.
- **create_a_heartland_retail_ticket** — Create a ticket. Creating a sales ticket requires a station_id . The station_id is used to determine which location's inventory to alter as a result of the sales ticket. POST /api/sales/tickets. Required: type.
- **get_single_heartland_retail_ticket_by_id** — Retrieve a ticket. A sales ticket is retrieved using its unique identifiers. This identifier can be found by searching for tickets, from references in other records, or from the location header returned in response to the creation of a new sales tickets. GET /api/sales/tickets/{ticket_id}. Required: id.
- **list_all_heartland_retail_tickets** — Search tickets. Sales tickets can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/sales/tickets. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_ticket_by_id** — Update a ticket. A sales ticket can be modified by sending a PUT request to the record's unique URL. The contents of the request must contain a valid subset of sales ticket record attribute. You can pass completed_at to set the specific completion date and time for the ticket (for example in the past). A sales ticket also accepts the affect_inventory flag that if set to false can be used to not perform inventory adjustment on ticket completion. Also: Add a coupon to a ticket - Adds a coupon to the ticket. See… PUT /api/sales/tickets/{ticket_id}. Required: id.
- **create_a_heartland_retail_traffic_counter** — Create a counter. Creating a traffic counter requires a name , original_name (could be the same as name ), entrance and zone . If you pass the location_id , the counter will be assigned to the location. POST /api/traffic_counters. Required: name, original_name, entrance, zone.
- **list_all_heartland_retail_traffic_counters** — Search counters. Traffic counters can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/traffic_counters. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_traffic_counter_by_id** — Update a counter. A traffic counter can be modified by sending a PUT request to the record's unique URL. The contents of the request must contain a valid subset of traffic counter record attribute. PUT /api/traffic_counters/{counter_id}. Required: id.
- **create_a_heartland_retail_traffic_count** — Create a count. Creating a traffic count requires a traffic_counter_id , datetime and value . PUT /api/traffic_counts. Required: name, original_name, entrance, zone.
- **get_single_heartland_retail_traffic_count_by_id** — Retrieve a count. A traffic count is retrieved using its unique identifier. This identifier can be found by searching for counts, from references in other records, or from the response to the creation of a new count. GET /api/traffic_counts/{count_id}. Required: id.
- **list_all_heartland_retail_traffic_counts** — Search counts. Traffic counts can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/traffic_counts. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **list_all_heartland_retail_user_alerts** — Get alerts of the user. Users alerts can be fetched by querying the user alerts' URL and providing the location_id parameter. GET /api/users/{user_id}/alerts. Required: user_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_user_location** — Add a new location to the user. Users can be granted access to locations by POSTing them to the user's locations resource. When successful, the response headers will contain a location header that indicates the url at which the newly created user location can be found. The user location's unique id will be the last portion of that URL. If you want to grant access to all locations update the user record with all_locations=true flag instead. POST /api/users/{user_id}/locations. Required: user_id.
- **delete_a_heartland_retail_user_location_by_id** — Remove a location from the user. Remove access to a location from the user by sending a DELETE request to the user location's URL. DELETE /api/users/{user_id}/locations/{location_id}. Required: id, user_id.
- **get_single_heartland_retail_user_location_by_id** — Get a location of the user. User locations can be fetched by GETting the user location's resource URL. GET /api/users/{user_id}/locations/{location_id}. Required: id, user_id.
- **list_all_heartland_retail_user_locations** — Search locations of the user. Users locations can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/users/{user_id}/locations. Required: user_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **list_all_heartland_retail_user_permissions** — Search permissions of the user. Users permissions can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/users/{user_id}/permissions. Required: user_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **heartland_retail_user_profile_bulk_update** — Update current user. Update the current user profile by PUTting a user record containing a valid subset of user attributes to the /profile resource URL. PUT /api/users/profile.
- **create_a_heartland_retail_user_role** — Add a new role to the user. Users can be granted roles by POSTing them to the user's roles resource. When successful, the response headers will contain a location header that indicates the url at which the newly created role can be found. The role's unique id will be the last portion of that URL. POST /api/users/{user_id}/roles. Required: user_id.
- **delete_a_heartland_retail_user_role_by_id** — Remove a role from the user. Remove a role from the user by sending a DELETE request to the user location's URL. DELETE /api/users/{user_id}/roles/{role_id}. Required: id, user_id.
- **get_single_heartland_retail_user_role_by_id** — Get a role of the user. User roles can be fetched by GETting the user role's resource URL. GET /api/users/{user_id}/roles/{role_id}. Required: id, user_id.
- **list_all_heartland_retail_user_roles** — Search roles of the user. Users roles can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/users/{user_id}/roles. Required: user_id. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **create_a_heartland_retail_user** — Create user. Users are created by POSTing a user record containing the required attributes to the /api/users resource. The password is required and stored encrypted in the database. When successful, the response headers will contain a location header that indicates the url at which the newly created user can be found. The user's unique id will be the last portion of that URL. You can also optionally set the users roles and locations with the create user request. To set roles, you can include role_ids with… POST /api/users. Required: login, email, is_account_owner, is_account_admin.
- **get_single_heartland_retail_user_by_id** — Get a user. Users can be fetched by GETting the user's resource URL. GET /api/users/{user_id}. Required: id.
- **list_all_heartland_retail_users** — Search users. Users can be searched for, filtered and sorted by any of their properties. For more information on filtering search results see Filtering . GET /api/users. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_user_by_id** — Update a user. Users can be edited by PUTting a user record containing a valid subset of user attributes to the user's resource URL. PUT /api/users/{user_id}. Required: id.
- **create_a_heartland_retail_webhook** — Create a webhook. Webhooks are created by POSTing a webhook record containing at least the required attributes to the /api/webhooks resource. POST /api/webhooks. Required: url, events.
- **delete_a_heartland_retail_webhook_by_id** — Delete a webhook. DELETE /api/webhooks/{webhook_id}. Required: id.
- **get_single_heartland_retail_webhook_by_id** — Retrieve a webhook. Webhooks are retrieved via their unique id. The id can be found via a search. GET /api/webhooks/{webhook_id}. Required: id.
- **list_all_heartland_retail_webhooks** — Search Webhooks. Webhooks can be searched by GETting the root of the Webhooks resource. This API call will result in a search result record containing zero or more webhook records in the results attribute. See Search Results for more information on search results. GET /api/webhooks. Truto pages with page / per_page (limit = per_page, default 100); records at results.
- **update_a_heartland_retail_webhook_by_id** — Update a webhook. Webhooks can be edited by PUTting a webhook record containing a valid subset of webhook attributes to the webhook's resource URL. PUT /api/webhooks/{webhook_id}. Required: id.
- **heartland_retail_whoami_lookup** — Who am I. The authenticated user (check the token and its permissions). GET /api/system/whoami.

## How it works

1. **Link your customer's Heartland Retail account.** Use Truto's frontend SDK; we handle every OAuth and API key flow so you don't need to create the OAuth app.
2. **Authentication is automatic.** Truto refreshes tokens, stores credentials securely, and injects them into every API request.
3. **Call Truto's API to reach Heartland Retail.** The Proxy API is a 1-to-1 mapping of the Heartland Retail API.
4. **Get a unified response format.** Every response uses a single shape, with cursor-based pagination and data in the `result` field.

## Use cases

- **Embed omnichannel order and inventory sync** — E-commerce and PIM platforms can offer Heartland Retail as a native integration so their customers can push online orders into the POS, route fulfillment to specific stores, and keep inventory levels accurate in real time across locations.
- **Close the loop on in-store marketing and loyalty** — MarTech and loyalty SaaS can ingest in-store ticket activity and push coupons or gift card top-ups back to the POS, letting merchants trigger post-purchase campaigns and redeem rewards at the register without manual data entry.
- **Power demand planning and automated procurement** — Supply chain and merchandising tools can pull historical sales order lines and inventory values to forecast demand, then generate purchase orders and manage vendor records in Heartland without the buyer leaving the SaaS.
- **Deliver store conversion and footfall analytics** — BI and store-ops platforms can inject traffic counts from cameras or sensors directly into Heartland and correlate them with ticket data, surfacing conversion metrics inside the merchant's existing POS reporting.
- **Automate retail accounting and tax reconciliation** — ERP and accounting connectors can pull invoices, tickets, and tax jurisdiction data nightly to automate journal entries and sales tax liability reporting, removing manual end-of-day reconciliation for finance teams.

## What you can build

- **Two-way sales order sync with ship-from-store routing** — Create sales orders from your platform and update individual order lines to assign a specific fulfillment location, turning any Heartland store into a ship-from node.
- **Real-time inventory availability feed** — Poll inventory values by location or subscribe to webhooks to keep catalog availability accurate across channels and prevent overselling.
- **Unified customer profile and dedupe** — Create and update customer records with addresses, and call the customer merge endpoint to consolidate duplicate in-store and online profiles into a single golden record.
- **Coupon and gift card reward engine** — Programmatically issue coupons and post gift card adjustments triggered by loyalty rules so rewards are instantly redeemable at the Heartland POS.
- **Purchase order and receiving automation** — Create purchase orders, manage vendors, and generate purchase receipts with line-level detail to automate replenishment and warehouse receiving workflows.
- **Footfall-to-sales conversion reporting** — Push hourly traffic counts tied to named traffic counters into Heartland and pair them with ticket data to surface conversion rate dashboards natively in the merchant's POS.

## FAQs

### How does authentication to Heartland Retail work through Truto?

Truto handles the Heartland Retail credential exchange and token lifecycle for you. Your end users connect their Heartland account through a Truto-hosted flow, and your app calls the integration using a Truto connection ID — you never store or refresh Heartland credentials yourself.

### Can we receive real-time events from Heartland Retail?

Yes. Truto exposes Heartland's webhook endpoints (create, list, get, update, delete webhooks), so you can subscribe to events like new tickets or inventory changes and react without polling.

### Which resources are available for read and write operations?

The integration covers core retail objects including items, item grids, inventory values and transfers, sales orders, tickets, invoices, customers, coupons, gift cards, purchase orders, purchase receipts, purchase returns, vendors, traffic counts, tax jurisdictions and rules, locations, users, roles, and permissions — most with full CRUD where Heartland's API permits.

### Can we query Heartland's native reporting instead of recomputing metrics?

Yes. The reporting analyzer lookup endpoint is exposed through Truto, so BI and analytics products can request pre-aggregated metrics from Heartland's reporting engine rather than pulling and re-calculating raw transactions.

### How are custom fields handled?

Heartland custom fields are first-class in this integration. You can list, create, get, and update custom field definitions, and read or write their values on supported records so merchant-specific data flows through end to end.

### Does the integration support multi-location retailers?

Yes. You can list all locations, assign users to locations, specify ship-from locations on sales order lines, and move stock between stores using inventory transfers and transfer shipments — making it suitable for multi-site and franchise deployments.
