The "Export products to CS-Cart" action saves/resets the default categories to the following value:
company_id = 1
storefront_id =1
The problem appeared after updating xcard to a new (latest) version.
Now we solved the problem by checking "Export only new categories (categories with a category identifier).
To solve the problem, support of xkart requested a request sent by onebox.
The last sent request without a check mark "Export only new categories (categories with a category identifier)" was on September 4, approximately from 14:00 to 15:00.
Could you provide an example of a category update request?
The "Export products to CS-Cart" action saves/resets the default categories to the following value: company_id = 1 storefront_id =1 The problem appeared after updating xcard to a new (latest) version. Now we solved the problem by checking "Export only new categories (categories with a category identifier). To solve the problem, support of xkart requested a request sent by onebox. The last sent request without a check mark "Export only new categories (categories with a category identifier)" was on September 4, approximately from 14:00 to 15:00. Could you provide an example of a category update request?
hostXXXX/api.php?_d=categories/ {"company_id":true,"category":"\u042d\u041b\u0415\u041a\u0422\u0420\u041e\u041d\u041d\u042b\u0415 \u0421\u0418\u0413\u0410\u0420\u0415\u0422\u042b \u0418 \u0416\u0418\u0414\u041a\u041e\u0421\u0422\u0418","parent_id":0,"status":"A","description":"\u042d\u041b\u0415\u041a\u0422\ u0420\u041e\u041d\u041d\u042b\u0415 \u0421\u0418\u0413\u0410\u0420\u0415\u0422\u042b \u0418 \u0416\u0418\u0414\u041a\u041e\u04228\u04221\u} Array ( [message] => Bad Request: Storefront ID is required (the storefront_id param) [errors] => Array ( [0] => Storefront ID is required (the storefront_id param) ) [status] => 400 ) as far as I can see, you need to add the storefront_id parameter to the API transfer because it's a mistake at all 1 hour
hostXXXX/api.php?_d=categories/
{"company_id":true,"category":"\u042d\u041b\u0415\u041a\u0422\u0420\u041e\u041d\u041d\u042b\u0415 \u0421\u0418\u0413\u0410\u0420\u0415\u0422\u042b \u0418 \u0416\u0418\u0414\u041a\u041e\u0421\u0422\u0418","parent_id":0,"status":"A","description":"\u042d\u041b\u0415\u041a\u0422\ u0420\u041e\u041d\u041d\u042b\u0415 \u0421\u0418\u0413\u0410\u0420\u0415\u0422\u042b \u0418 \u0416\u0418\u0414\u041a\u041e\u04228\u04221\u}
Array
(
[message] => Bad Request: Storefront ID is required (the storefront_id param)
[errors] => Array
(
[0] => Storefront ID is required (the storefront_id param)
)
[status] => 400
)
as far as I can see, you need to add the storefront_id parameter to the API transfer
because it's a mistake at all
1 hour
Ustimenko Igor OneBox production wrote: hostXXXX/api.php?_d=categories/ {"company_id":true,"category":"\u042d\u041b\u0415\u041a\u0422\u0420\u041e\u041d\u041d\u042b\u0415 \u0421\u0418\u0413\u0410\u0420\u0415\u0422\u042b \u0418 \u0416\u0418\u0414\u041a\u041e\u0421\u0422\u0418","parent_id":0,"status":"A","description":"\u042d\u041b\u0415\u041a\u0422\ u0420\u041e\u041d\u041d\u042b\u0415 \u0421\u0418\u0413\u0410\u0420\u0415\u0422\u042b \u0418 \u0416\u0418\u0414\u041a\u041e\u04228\u04221\u} Array ( [message] => Bad Request: Storefront ID is required (the storefront_id param) [errors] => Array ( [0] => Storefront ID is required (the storefront_id param) ) [status] => 400 ) as far as I can see, you need to add the storefront_id parameter to the API transfer because it's a mistake at all 1 hour
Issue an invoice
[quote]
Ustimenko Igor
OneBox production wrote:
hostXXXX/api.php?_d=categories/
{"company_id":true,"category":"\u042d\u041b\u0415\u041a\u0422\u0420\u041e\u041d\u041d\u042b\u0415 \u0421\u0418\u0413\u0410\u0420\u0415\u0422\u042b \u0418 \u0416\u0418\u0414\u041a\u041e\u0421\u0422\u0418","parent_id":0,"status":"A","description":"\u042d\u041b\u0415\u041a\u0422\ u0420\u041e\u041d\u041d\u042b\u0415 \u0421\u0418\u0413\u0410\u0420\u0415\u0422\u042b \u0418 \u0416\u0418\u0414\u041a\u041e\u04228\u04221\u}
Array
(
[message] => Bad Request: Storefront ID is required (the storefront_id param)
[errors] => Array
(
[0] => Storefront ID is required (the storefront_id param)
)
[status] => 400
)
as far as I can see, you need to add the storefront_id parameter to the API transfer
because it's a mistake at all
1 hour
[/quote]
Issue an invoice
the settings for exporting products to SS-Cart have been modified: "Store or supplier ID (default company_id=1)" "Storefront ID (default storefront_id=1)"
the settings for exporting products to SS-Cart have been modified:
"Store or supplier ID (default company_id=1)"
"Storefront ID (default storefront_id=1)"
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up