Raley PO exposes HTTP REST endpoints which you can use to facilitate B2B integration with your own system(s).
Authorization
The authorization is implemented via HTTP header "Authorization". Every time you execute a method call on our API you have to provide a valid value in this header.
To get the value of Authorization header, navigate to Raley Apps configuration page and then click on API & Integrations tab. Then copy the value from API Key and use in in your application(s) to retrieve and modify data in Raley PO.
You can always regenerate the Auhtorization header, however, make sure that you've updated your systems which are making use of it.
Available APIs
The following table lists available REST API methods that a third party service can invoke.
Method | URL | Description | Example Response |
---|---|---|---|
GET | api/v1/external/get-suppliers | Returns list of suppliers configured for given installation of Raley PO. Archived suppliers are not returned | [ |
GET | api/v1/external/get-taxes | Returns list of taxes configured for given installation of Raley PO. Archived taxes are not returned | |
GET | api/v1/external/find-product-by-sku | Finds and returns a product by given SKU identifier. Both, active and archived products can be returned. If more than one product is found with the same SKU, returns the first one. | |
POST | api/v1/external/create-product | ||
PUT | api/v1/external/update-product |