Unified Format with PSRESTful

One response format for every supplier's PromoStandards services

Why a Unified Format Matters

PromoStandards has been instrumental in providing a standardized framework for communication between suppliers and distributors in the promotional products industry. This framework defines essential services like Product Data, Media Content (MED), Inventory (INV), Product Pricing and Configuration (PPC), and more. It outlines the methods or actions these services should implement, along with the request and response structures for these methods.

However, each supplier must implement these standards, leading to variations in how they are executed. These discrepancies often result in:

  • Inconsistent Implementations: Different suppliers might implement the same service in slightly different ways, making integration challenging.
  • Ambiguities in Documentation: Inconsistent or unclear documentation can lead to misunderstandings about which fields are required or optional.
  • Incomplete Method Implementations: Some suppliers may not implement all the methods specified by PromoStandards for a particular service, leading to gaps in functionality.

These issues create friction for developers trying to integrate with multiple suppliers, increasing the time and cost involved in setting up and maintaining these connections.

PSRESTful: Standardized Integration for All Suppliers

PSRESTful gives you one REST/JSON API in front of every supplier's PromoStandards services. Here's what that changes:

Consistent Data Structure

Every supplier's answer is parsed into the same typed models before you get it, so a field has the same name and type whichever supplier it came from. Where a supplier leaves a required yes/no field empty, we fill in a default (a missing mainPart on an inventory part reads as true) instead of passing on an error.

One Reference for Every Supplier

Every endpoint is described once, in our API reference, with typed fields that say which ones can be empty. You read one reference instead of one per supplier.

Clear Answers When a Supplier Lacks a Method

We can't add a method a supplier hasn't built. What we do is answer the same way for every supplier when it's missing: the standard PromoStandards "Not Supported" error (code 125) in the normal response shape, instead of a SOAP fault you'd have to decode. When the supplier's server is down, you get a 502 that says so. The supplier pages show which services each supplier supports, so you know before you build on it.

Less Code to Write and Keep Up

With one structure for every supplier, you write the code to read a product, a price or a stock level once, instead of once per supplier.

Why Choose PSRESTful?

You can build an integration for each supplier yourself. Then each one is yours to keep running: every supplier's quirks and gaps to work around, and every change they make to their endpoints to catch.

PSRESTful does that work once, for every distributor that uses it. When a supplier changes something, we update the integration in one place, for everyone.

Try it on the suppliers you work with: the Free plan lets you call the API before you pay for anything.