Actions55
- Webhooks Actions
- Payments Actions
- Products Actions
- Plans Actions
- Partner Referrals Actions
- Reporting Actions
- Orders Actions
- Subscriptions Actions
- Invoicing Actions
- Disputes Actions
Products → Update Product
AI-generatedOverview
The node provides a comprehensive integration with PayPal's API, supporting over 70 operations across multiple resources such as Orders, Subscriptions, Products, Plans, Invoicing, Disputes, Webhooks, Payments, Partner Referrals, and Reporting. Specifically for the Products resource and the Update Product operation, this node allows users to update details of an existing PayPal subscription product by specifying its ID and providing the updated data in JSON format.
This node is beneficial in scenarios where automated management of PayPal products is required within workflows, such as updating product information dynamically based on external triggers or batch processing product updates without manual intervention.
Practical example:
A business using n8n to manage their PayPal catalog can automatically update product descriptions, pricing details, or availability status when changes occur in their inventory system, ensuring that the PayPal product listings remain synchronized.
Properties
| Name | Meaning |
|---|---|
| ID | The unique identifier of the PayPal product to update. |
| Request Body | JSON-formatted string containing the fields and values to update on the product. |
| Additional Options | Collection of optional parameters: - Environment: Choose between "Sandbox" or "Live" PayPal environment. - Page Size: Number of items per page for list operations (not applicable for update). - Start Time: Start date filter in ISO 8601 format (not applicable for update). - End Time: End date filter in ISO 8601 format (not applicable for update). |
Output
The node outputs a JSON object containing:
resource: The resource type, here always"products".operation: The operation performed, here"updateProduct".success: Boolean indicating if the operation was successful.- All fields returned by the PayPal API response for the updated product.
creditsUsed: Number of API credits consumed by the request (usually 1).creditsRemaining: Remaining API credits after the request.timestamp: ISO timestamp of when the operation was executed.
If the operation fails and "Continue On Fail" is enabled, the output will include an error message and success set to false.
No binary data output is produced by this operation.
Dependencies
- Requires valid credentials for:
- An API key credential for the external validation service ("N8N Tools API").
- A PayPal OAuth2 access token credential with appropriate permissions.
- The node uses the PayPal REST API endpoints, switching between sandbox and live environments based on user selection.
- Proper configuration of these credentials in n8n is necessary for successful execution.
Troubleshooting
Invalid JSON in Request Body:
If the JSON provided in the "Request Body" property is malformed, the node throws an error indicating invalid JSON. Ensure the JSON syntax is correct before running.API Validation Failure:
The node first validates the requested resource and operation via an external API. If this validation fails, it returns an error with the validation message. Check API key validity and network connectivity.Unknown Operation or Resource:
If an unsupported operation or resource is specified, the node throws an error indicating the unknown operation/resource. Verify that the selected operation matches the supported options.Authorization Errors:
If the PayPal OAuth2 token is invalid or expired, requests will fail. Refresh or reauthenticate the PayPal credentials.Rate Limits or Quotas:
The node tracks API credits used and remaining. Exceeding quotas may cause failures; monitor usage accordingly.