Iyzico icon

Iyzico

Interact with Iyzico iyzilink API

Update Status

AI-generated

Overview

This node integrates with the Iyzico iyzilink API to update the status of an existing iyzilink product. It allows users to change a product's status between "Active" and "Passive". This is useful in scenarios where merchants want to control the availability or visibility of their products on the Iyzico platform without deleting them.

Practical example:
A merchant wants to temporarily disable a product from being purchasable during stock shortages or promotional periods by setting its status to "Passive". Later, they can reactivate it by switching the status back to "Active".

Properties

Name Meaning
Token The unique token value generated by Iyzico for the product to identify it.
Status New status for the product. Options: Active (product available), Passive (product hidden).
Additional Fields Optional extra parameters:
- Conversation ID: Merchant product number or custom identifier.
- Locale: Language for response texts (Turkish, English).

Output

The node outputs a JSON object representing the API response from Iyzico after attempting to update the product status. The structure includes:

  • status: Indicates success or failure of the operation.
  • Other fields as returned by the Iyzico API, including any error messages if applicable.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential and secret key for authenticating with the Iyzico API.
  • The node uses HMAC SHA256 signing for request authentication.
  • Supports both sandbox and production environments based on the configured credential environment.
  • Requires network access to the Iyzico API endpoints.

Troubleshooting

  • Authentication failed error:
    If you receive an authentication error, verify that your API key and secret key are correct and correspond to the selected environment (sandbox or production). Ensure the HMAC SHA256 signature method is supported and correctly implemented.

  • API error responses:
    The node surfaces error messages returned by the Iyzico API. Check the errorMessage and errorGroup fields in the output for details. Common issues include invalid tokens or malformed requests.

  • Invalid token:
    Make sure the token provided corresponds to an existing product in Iyzico.

  • Network issues:
    Confirm that your n8n instance has internet access and can reach the Iyzico API URLs.

Links and References

Discussion