OTTO Market icon

OTTO Market

Consume OTTO Market API

Actions4

Overview

This node integrates with the OTTO Market API to manage return requests. Specifically, for the "Reject Return" operation under the "Return" resource, it allows users to reject one or more return items by sending their details back to the OTTO Market system.

Common scenarios include:

  • Automatically rejecting return requests that do not meet certain criteria.
  • Bulk processing of return items to update their status in the OTTO Market platform.
  • Integrating return management workflows within an automation pipeline.

For example, a user can provide a JSON list of return items they want to reject, and this node will send that data to OTTO Market’s rejection endpoint, updating the status accordingly.

Properties

Name Meaning
Position Items (Json) A JSON array representing the list of return items received from the partner that are to be rejected. This should contain all necessary details about each item to be processed for rejection.

Output

The node outputs a JSON array where each element contains a data field holding the response from the OTTO Market API after attempting to reject the specified return items.

Example output structure:

[
  {
    "data": {
      // Response object from OTTO Market API regarding the rejection request
    }
  }
]

No binary data is produced by this node.

Dependencies

  • Requires an active connection to the OTTO Market API via an API key credential configured in n8n.
  • The node depends on the OTTO Market API endpoints /v2/returns/rejection for rejecting returns.
  • Proper network access and authentication setup in n8n are necessary to communicate with the OTTO Market service.

Troubleshooting

  • Empty or malformed Position Items JSON: Ensure the JSON provided in "Position Items (Json)" is correctly formatted and includes all required fields for each return item. Invalid JSON or missing data may cause API errors.
  • Authentication errors: Verify that the API key credential is correctly set up and has sufficient permissions to perform return rejections.
  • API endpoint errors: If the OTTO Market API returns errors, check the response message for details such as invalid item IDs or status conflicts.
  • Network issues: Confirm that n8n can reach the OTTO Market API endpoints without firewall or proxy restrictions.

Links and References

Discussion