renew until the sale

  • le_livre

    5 messages

    France

    Hey,

    How I can, by API, post a new item with renew until the sale

    I used "" value for renew but it seems not be the good solution ...

    Thanks
  • @thomas
    Compte fermé

    348 messages

    Belgique

    Hey,

    How I can, by API, post a new item with renew until the sale

    I used "" value for renew but it seems not be the good solution ...

    Thanks
    • Posté le 1 avr. 2021 à 04:03
    • #1262641
    Hello le_livre,

    "" should work. I tested it, it worked for me. But if not you can put "99" instead.

    Best Regards,
    --
    Thomas
    Delcampe Team
  • le_livre

    5 messages

    France

    Merci Thomas,

    We have 2 milions products ... so it is not a solution to have 99 weeks of renew...

    Can you give me an exemple of your test ?

    In my case; fixed price :
    renew = ''
    duration = 7
    and no option
  • @thomas
    Compte fermé

    348 messages

    Belgique

    Merci Thomas,

    We have 2 milions products ... so it is not a solution to have 99 weeks of renew...

    Can you give me an exemple of your test ?

    In my case; fixed price :
    renew = ''
    duration = 7
    and no option
    • Posté le 1 avr. 2021 à 10:07
    • #1262734
    This example works for me:

    array(
    'type' => 'fixedPrice',
    'item[currency]' => 'EUR',
    'item[id_category]' => '1242',
    'item[fixed_price]' => '15.00',
    'item[title]' => 'My title',
    'item[personal_reference]' => 'ref',
    'item[qty]' => '1',
    'item[duration]' => '7',
    'item[description]' => 'My description',
    'item[renew]' => '',
    'item[images][0]' => '*image_url*'
    )

    But if you enter '99' it will also renew until the sale.

    Kind Regards,
    --
    Thomas
    Delcampe Team
  • le_livre

    5 messages

    France

    I will try,

    Thanks

Rejoignez la communauté des collectionneurs !

S'inscrire Se connecter