GuidesPPCGet Available Charges

How to get all available charges

Function getAvailableCharges

In order to get all the available charges for a particular product we need to use Product, Pricing and Configuration service (PPC). Our API allows easy access by a GET request to our available-charges endpoint.

Charges represent additional fees for decoration, setup, rush orders, and other services.

HTTP VERB: GET

URL: https://api.psrestful.com/v1.0.0/suppliers/{SUPPLIER_CODE}/available-charges/{PRODUCT_ID}/

Query Parameters

ParameterTypeRequiredDescription
localization_countrystringNoCountry code (default: US)
localization_languagestringNoLanguage code (default: en)
environmentstringNoEnvironment: PROD or STAGING (default: PROD)

Example Request

curl -X GET "https://api.psrestful.com/v1.0.0/suppliers/HIT/available-charges/55414/" \
  -H "X-API-Key: your-api-key"

Example Response

This is the response from calling with: SUPPLIER_CODE = HIT PRODUCT_ID = 55414

{
    "AvailableChargeArray": {
        "AvailableCharge": [
            {
                "chargeId": 8046412,
                "chargeName": "Pad Print",
                "chargeType": "Setup",
                "chargeDescription": "Pad Print"
            },
            {
                "chargeId": 8046413,
                "chargeName": "Laser Engrave",
                "chargeType": "Setup",
                "chargeDescription": "Laser Engrave"
            },
            {
                "chargeId": 8046414,
                "chargeName": "INDIVIDUAL PERSONALIZATION",
                "chargeType": "Run",
                "chargeDescription": "DECORATION"
            },
            {
                "chargeId": 8046415,
                "chargeName": "PERSONALIZATION",
                "chargeType": "Setup",
                "chargeDescription": "SETUP"
            }
        ]
    },
    "errorMessage": null
}

Response Structure

FieldDescription
AvailableChargeArrayArray of available charges
chargeIdUnique identifier for the charge
chargeNameName of the charge
chargeTypeType of charge: Setup or Run
chargeDescriptionDescription of the charge

Charge Types

TypeDescription
SetupOne-time charge per order (e.g., screen setup, plate creation)
RunPer-unit charge (e.g., per-item decoration, personalization)

Common Charge Names

ChargeDescription
Pad PrintPad printing setup/run charge
Laser EngraveLaser engraving setup/run charge
Screen PrintScreen printing setup/run charge
EmbroideryEmbroidery setup/run charge
RushRush order surcharge
PersonalizationIndividual item personalization

Use Cases

  • Quote generation: Include all applicable charges in quotes
  • Order cost calculation: Calculate total order cost including decoration charges
  • Customer communication: Show customers what additional fees apply