Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

Status do Cliente → Criar

AI-generated

Overview

This node interacts with the Press Ticket API to create a new client status. It is useful in scenarios where you want to programmatically manage client statuses within the Press Ticket system, such as adding new status categories with specific names and colors to organize clients effectively.

Use Case Examples

  1. Creating a new client status named 'VIP' with a gold color to highlight important clients.
  2. Adding a status 'Pending' with a red color to mark clients requiring follow-up.

Properties

Name Meaning
Nome The name of the client status to be created.
Cor The color of the client status in hexadecimal format.

Output

JSON

  • id - The unique identifier of the created client status.
  • name - The name of the created client status.
  • color - The color of the created client status in hexadecimal format.

Dependencies

  • Requires an API key credential for authenticating with the Press Ticket API.

Troubleshooting

  • Ensure the API token is valid and has permissions to create client statuses.
  • Verify that the 'name' and 'color' fields are provided and correctly formatted.
  • Common errors include authentication failures and validation errors from the API if required fields are missing or invalid.

Links

Discussion