Retrieve customer's latest product plan
1 min
GET
https://app.amberflo.io/payments/pricing/amberflo/customer-pricing
CustomerIdstringUnique identifier for the customer whose latest product plan should be retrieved.
This parameter is required unless RelationId is provided.
RelationIdstring<p>Serialized relationship identifier that contains both customer and product information.
If provided, this parameter takes precedence over CustomerId and ProductId parameters.
Used for direct plan lookups when the relationship context is known.</p>
ProductIdstring<p>Unique identifier for the specific product within the customer's pricing plan.
If not provided, defaults to the account's default product ID.
Used to filter plans for a specific product or service.</p>
200Returns the customer's latest product plan with pricing configuration and assignment details
400Invalid customer ID, relation ID, or malformed request parameters
401Authentication required or invalid API key provided
403Insufficient permissions to access customer pricing information
404Customer not found or no product plan assigned
500Internal server error occurred while retrieving customer pricing plan
curl --request GET \
--url 'https://app.amberflo.io/payments/pricing/amberflo/customer-pricing?CustomerId=customer_12345' \
--header 'accept: application/json'