Distru icon

Distru

Interact with the Distru Public API v1

Actions35

Product POS Mappings → Delete

AI-generated

Overview

This node interacts with the Distru Public API to delete a Product POS Mapping by its Resource ID. It is useful in scenarios where you need to remove specific product point-of-sale mappings from the Distru system, such as cleaning up outdated or incorrect mappings.

Use Case Examples

  1. Deleting a Product POS Mapping by specifying its unique Resource ID to maintain accurate product data in the POS system.
  2. Automating the removal of product mappings as part of a larger inventory management workflow.

Properties

Name Meaning
Resource ID The unique identifier of the Product POS Mapping to delete. This is required to specify which mapping to remove.

Output

JSON

  • json
    • success - Indicates if the deletion was successful (true) or not.
    • error - Error message if the deletion failed and continueOnFail is enabled.

Dependencies

  • Requires an API token credential for the Distru API to authenticate requests.

Troubleshooting

  • Error 'Resource ID is required' occurs if the Resource ID parameter is missing; ensure it is provided.
  • Error 'Unsupported operation' if the operation name is incorrect; verify the operation is set to 'deleteProductPosMapping'.
  • Error 'Missing binary data' does not apply here since this operation does not use binary data.
  • API token missing or invalid will cause authentication errors; ensure the API token credential is correctly set.

Discussion