1b.app
Link copied -

finalize the product automation action

In the product automation action "Send a request via api", I ask you to improve the ability to upload the main image and additional images of products. images must be uploaded as an array, of the following form
"images": [
{
"src": "https://example.com/wp-content/uploads/2017/03/T_2_front-4.jpg",
},
{
"src": "https://example.com/wp-content/uploads/2017/03/T_2_back-2.jpg",
}
],
implementation option
one . add fields:
- link to main image
- link additional images
the path is written in the "API parameter name" field.
For example, to upload the main and additional images, the following values are specified in the action settings
- link to main image ->images/src
- link to additional images ->images/src
as a result, an array will be formed, consisting of the number of entries equal to the number of uploaded images (main + additional)
"images": [
{
"src": "https://example.com/wp-content/uplo
Original question is available on version: ru

Answers:


Перегиняк Александр
Oneboxconsulting (интегратор)

Tyndyk Maxim Vadimovich wrote:
revision in 2 hours

invoice please.
22.06.2021, 13:01
Original comment available on version: ru

Перегиняк Александр
Oneboxconsulting (интегратор)

Tyndyk Maxim Vadimovich wrote:
revision in 2 hours

will the solution you developed work for additional fields: you need to be able to create an array like this
22.06.2021, 14:16
Original comment available on version: ru


will the solution you developed work for additional fields: you need to be able to create such an array

Read the description of this topic and answer your own question.
You were assessed exactly what you described
22.06.2021, 14:32
Original comment available on version: ru

Перегиняк Александр
Oneboxconsulting (интегратор)

Tyndyk Maxim Vadimovich wrote:

will the solution you developed work for additional fields: you need to be able to create such an array

Read the description of this topic and answer your own question.
You were assessed exactly what you described

Why are you poking your nose like that? Because I just asked. Why can't you be more polite? How do I know which design you will use? Maybe what you do will work for the case I cited...
23.06.2021, 10:10
Original comment available on version: ru


Why are you poking your nose like that?

I'm pointing out the obvious to you, not pointing you in the nose.

Because I just asked.

And I just answered you.

Why can't you be more polite?

I am extremely polite - I form to you on "you", without insults, etc.
I had no instructions regarding the individual manner of communicating with you.

How do I know which design you will use? Maybe what you do will work for the case I cited...

It is logical that the assessment relate exactly to what was asked to be assessed. If "main and additional image" is indicated, this does not mean that "additional fields".
23.06.2021, 15:26
Original comment available on version: ru

Added setting "Path to array of images" - specify images there
Added fields for uploading "Main image" and "Additional images" - specify src for both fields there
01.07.2021, 14:48
Original comment available on version: ru

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