CloudBlue Commerce SimpleAPI icon

CloudBlue Commerce SimpleAPI

Interact with CloudBlue Commerce SimpleAPI

Subscription → Update Special Pricing

AI-generated

Overview

This node operation updates the special pricing for products within a subscription. It is useful in scenarios where a user needs to modify pricing details such as unit price, unit cost, or provider cost for specific products tied to a subscription. For example, a business can use this node to apply custom pricing adjustments for a customer's subscription products based on negotiated terms or promotional offers.

Use Case Examples

  1. Updating the unit price and cost of multiple products in a subscription to reflect new pricing agreements.
  2. Adjusting the provider cost for products in a subscription to align with updated supplier costs.

Properties

Name Meaning
Subscription ID The unique identifier of the subscription to update special pricing for.
Special Pricing The special pricing data for products within the subscription, including product details and pricing values.

Output

JSON

  • subscriptionId - The ID of the subscription for which special pricing was updated.
  • products
    • ``
      * product
      * mpn - Manufacturer Part Number of the product.
      * id - Product ID.
      * values
      * unitPrice
      * price
      * currency - Currency code for the unit price.
      * amount - Amount for the unit price.
      * unitCost
      * cost
      * currency - Currency code for the unit cost.
      * amount - Amount for the unit cost.
      * unitProviderCost
      * providerCost
      * currency - Currency code for the unit provider cost.
      * amount - Amount for the unit provider cost.

Dependencies

  • An API key credential for authenticating with the CloudBlue Commerce API service.

Troubleshooting

  • Ensure the Subscription ID is valid and exists in the system; invalid IDs will cause errors.
  • Verify that the special pricing data is correctly structured and includes required fields such as currency and amount for prices and costs.
  • If the API service is unreachable or credentials are invalid, the node will throw authentication or connection errors.

Discussion