InRiver Laravel is a package that allows you to easily integrate with the inRiver PIM API.
Out of the box we have all the endpoints available to you as they are on the documentation.
For example, to get channel id's for an entity id, the documentation shows the following:
https://apieuw.productmarketingcloud.com/swagger/index.html#/Channel/GetChannelsForEntityId
To use this in the package, you would do the following:
$channels = InRiver()->channels->getChannelsForEntityId('Product');
// As per the documentation, you can also pass the other parameters.
$channels = InRiver()->channels->getChannelsForEntityId(
forEntityId: 'Product',
includeChannels: true,
includePublications: true
);So the URL endpoint is channels and the function from the URL is GetChannelsForEntityId, so that is the function you call.
As well as this, we also provide some other methods for your convenience. These can be found below.
- Entity
- Links
- Models/Categories
- Models/Cvls
- Models/EntityTypes
- Models/FieldSets
- Models/Languages
- Models/RestrictedFields
- Models/SpecificationTemplates
Via Composer
composer require scolmore/inriver-laravelPlease see the changelog for more information on what has changed recently.
composer testPlease see contributing.md for details and a todolist.
If you discover any security related issues, please email sam@scolmore.com instead of using the issue tracker.
MIT. Please see the license file for more information.

