Producten
Producten zijn te beheren via de controller 'product'.
show
Middels deze functie kunt u meer informatie over een product ophalen.
Invoerparameters:
| Veldnaam | Waarde | Omschrijving |
|---|---|---|
| Identifier | int | De unieke ID van een product |
| ProductCode | string | Het productnummer |
Voorbeeld invoer:
$parameters = [
"ProductCode" => "P0001"
];
$api->sendRequest('product', 'show', $parameters);
Voorbeeld uitvoer:
Array
(
[controller] => product
[action] => show
[status] => success
[date] => 2024-01-21T12:00:00+02:00
[product] => Array
(
[Identifier] => 1
[ProductCode] => P0001
[ProductName] => Uurtarief
[ProductKeyPhrase] => Werkzaamheden gebaseerd op uurtarief
[ProductDescription] =>
[NumberSuffix] =>
[Barcode] =>
[PriceExcl] => 100
[PricePeriod] =>
[TaxCode] => V21
[TaxPercentage] => 21
[Groups] => Array
(
[1] => Array
(
[id] => 1
[GroupName] => Consultancy
)
)
[Created] => 2024-01-21 11:00:00
[Modified] => 2024-01-21 11:00:00
[Translations] => Array
(
[PricePeriod] => geen abonnement
)
)
)