Actions35
- Adjustments Actions
- Assemblies Actions
- Batches Actions
- Companies Actions
- Contacts Actions
- Custom Fields Actions
- File Attachments Actions
- Inventory Actions
- Invoices Actions
- Locations Actions
- Orders Actions
- Packages Actions
- Payment Methods Actions
- Product POS Mappings Actions
- Products Actions
- Purchases Actions
- Strains Actions
- Test Results Actions
- Users Actions
Product POS Mappings → Upsert
AI-generatedOverview
This node interacts with the Distru Public API to upsert (create or update) product POS mappings. It is useful for synchronizing product identifiers between Distru and various point-of-sale systems such as Blaze, Dutchie, and Treez. For example, it can be used to link a Distru product ID with corresponding product and retailer IDs in these POS systems, ensuring consistent product data across platforms.
Use Case Examples
- Upsert a product POS mapping by providing the Distru product ID along with optional Blaze, Dutchie, and Treez product and retailer IDs to keep POS data synchronized.
- Update an existing product POS mapping to reflect changes in POS system product identifiers.
Properties
| Name | Meaning |
|---|---|
| Product ID | The unique identifier of the product in Distru, required to specify which product POS mapping to upsert. |
| Additional Fields | Optional fields to specify POS system product and retailer IDs for Blaze, Dutchie, and Treez platforms, allowing detailed mapping information to be provided. |
Output
JSON
product_id- The Distru product ID used in the upsert operation.blaze_product_id- The Blaze POS system product ID if provided.blaze_retailer_id- The Blaze POS system retailer ID if provided.dutchie_product_id- The Dutchie POS system product ID if provided.dutchie_retailer_id- The Dutchie POS system retailer ID if provided.treez_product_id- The Treez POS system product ID if provided.treez_retailer_id- The Treez POS system retailer ID if provided.
Dependencies
- Distru Public API v1
- An API token credential for authentication
Troubleshooting
- Ensure the Distru API token is set correctly; otherwise, the node will throw an error indicating the token is missing.
- The 'Resource ID' (product_id) is required; missing this will cause an error.
- If the API returns an error, check the provided IDs and additional fields for correctness and completeness.
Links
- Distru Public API v1 Documentation - Official API documentation for understanding the endpoints and data structures used by this node.