CompuDime API docs

Reference / Schemas

CostBreakdown

Type: object.

NameTypeDescription
baseCost requiredintegerCredits the endpoint costs with up to includedFields response fields.
extraFieldCost requiredintegerCredits per field beyond includedFields.
extraFieldCredits requiredintegermax(0, fieldCount - includedFields) * extraFieldCost.
fieldCount requiredintegerNumber of fields the request resolved to (the standard set when fields is omitted). Two names for one field (unitsPerCase and the deprecated upc) count once.
includedFields requiredintegerFields covered by baseCost; 0 for fixed-cost endpoints.
pricingVersion requiredstringBilling's pricing version the quote was priced under; the real call stamps the same value in X-Pricing-Version.
totalCredits requiredintegerbaseCost + extraFieldCredits: what the real call would reserve.

No other fields appear.