Remove translations
Last updated: 02-Jul-2018
Use the deletePromotionTranslations method to remove all localized texts from an existing promotion.
Parameter | Type/Description | |
---|---|---|
sessionID |
Required (string) |
|
|
Output of the Login method. |
|
promotionCode |
Required (string) |
|
|
The code corresponding to the promotion that you want to add translations to. |
Parameters | Type/Description | |
---|---|---|
Status |
Boolean |
|
True or false. |
<?php
require ('PATH_TO_AUTH');
// Promotion code corresponding to the promotion you want to remove translations from
$promotionCode = '';
$jsonRpcRequest = array (
'jsonrpc' => '2.0',
'id' => $i++,
'method' => 'deletePromotionTranslations',
'params' => array($sessionID, $promotionCode)
);
var_dump (callRPC($jsonRpcRequest, $host));
Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.
We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.