GuidesPPCGet Pricing and Configuration

How to get configuration and pricing

Educational video from PromoStandards



Function GetConfigurationAndPricing

In order to get configuration and pricing for a given product we need to use Product, Pricing and Configuration service (PPC). Our API allows easy access by a GET request to our pricing-and-configuration endpoint.

HTTP VERB: GET

URL: https://api.psrestful.com/v1.0.0/suppliers/{SUPPLIER_CODE}/pricing-and-configuration/{PRODUCT_ID}/

Query Parameters

ParameterTypeRequiredDescription
currencystringYesCurrency code (e.g., USD, CAD)
fob_idstringYesFOB point ID (get from FOB Points)
price_typestringYesCustomer or List. Customer pricing requires supplier credentials
configuration_typestringNoBlank or Decorated (default: Decorated)
part_idstringNoFilter pricing for a specific part/variant
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/alphabroder/pricing-and-configuration/SM-3534/?currency=USD&price_type=List&configuration_type=Blank&fob_id=33013" \
  -H "X-API-Key: your-api-key"

Example Response

This is the response from calling with: SUPPLIER_CODE = alphabroder PRODUCT_ID = SM-3534

The response has been truncated to show 2 FOB points:

{
    "FobPointArray": {
        "FobPoint": [
            {
                "fobId": "BX",
                "fobPostalCode": "06610",
                "fobCity": "BRIDGEPORT",
                "fobState": "CT",
                "fobCountry": "US",
                "CurrencySupportedArray": {
                    "CurrencySupported": [
                        {
                            "currency": "USD"
                        }
                    ]
                },
                "ProductArray": {
                    "Product": [
                        {
                            "productId": "C1717"
                        }
                    ]
                }
            },
            {
                "fobId": "CC",
                "fobPostalCode": "60490",
                "fobCity": "Bolingbrook",
                "fobState": "IL",
                "fobCountry": "US",
                "CurrencySupportedArray": {
                    "CurrencySupported": [
                        {
                            "currency": "USD"
                        }
                    ]
                },
                "ProductArray": {
                    "Product": [
                        {
                            "productId": "C1717"
                        }
                    ]
                }
            }
        ]
    },
    "ErrorMessage": null
}

Response Structure

FieldDescription
FobPointArrayArray of FOB (shipping origin) points with pricing
fobIdFOB point identifier
fobPostalCodePostal code of the FOB location
fobCity / fobState / fobCountryLocation details
CurrencySupportedArrayCurrencies available at this FOB point
ProductArrayProducts available at this FOB point

Price Types

TypeDescription
ListStandard list pricing (no credentials required)
CustomerYour negotiated pricing (requires supplier credentials)

Configuration Types

TypeDescription
BlankPricing for undecorated products
DecoratedPricing including decoration/imprint

Typical Workflow

  1. Get FOB Points to find available shipping origins
  2. Get Available Locations to find decoration locations
  3. Get Available Charges to understand additional fees
  4. Call this endpoint with the required parameters to get pricing