1b.app
Link copied -

OneBox unlinks categories from showcases

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?
Original question is available on version: ua

Answers:

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
13.09.2022, 21:29
Original comment available on version: ua


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
14.09.2022, 00:15
Original comment available on version: ua


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)"
14.09.2022, 15:41
Original comment available on version: ua

Works
thank you
14.09.2022, 18:08
Original comment available on version: ua

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