Page History
...
The following table lists available REST API methods that a third party service can invoke. URL's must start with https://po.raleyapps.com/ and end with the URL suffix as indicated in the table below
Method | URL suffix | DescriptionDescripction | 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-products-by-sku?sku=SKU_VALUE | Finds and returns list of product that match by given SKU identifier SKU_VALUE. Both, active and archived products can be returned. This methods returns HTTP 404 if no products are found. | [ |
POST | api/v1/external/create-product | Creates a product with given parameters passed as JSON array. sku - business identifier used to identify products in your system unitPrice - product price including applicable taxRate supplierId - id of supplier that offers this product taxRate - object containing an "id" field which corresponds to applicable tax rate active - whether the product should be active or archived approved - true when you're not using product approval process. Otherwise false. productApprovalType - null if you're not using the product approval process, otherwise a JSON object with mandatory "id" field which corresponds to the product approval type ID. On successful invocation, the method will return newly created product data in JSON format. | { |
PUT | api/v1/external/update-product | Updates a product with given id to the values set in product fields. The semantic of he fields is the same as in create-product method. On successful invocation, the method will return updated product data in JSON format | { |