API - adding a product not working

  • onlinestampsnl-dev

    2 messages

    Pays-Bas

    1. API - adding a product
    We have tried to implement the POST /item/ functionality from Github ( Lien (https) < Lien (https) ;), but it keeps giving us the following error:

    " 0fafbfa38944eee72578355e54e0731d 2017-11-27 20:20:06item POST 400 err_missingDeliveryDestination, err_missingActivatedPayment, err_missingDescriptionShippingAndHandling "

    It doesn't matter if we use the Seller's API key or the Dev's API key.

    We submitted all the necessary fields as stated in the documentation's code example ( Lien (https) < Lien (https) ;), but it still requires us to submit different fields (see error message above).

    What fields do we need to send to ensure that a product is added through the API?
  • Compte supprimé
    Administrateur
    Compte supprimé

    0 message

    Belgique

    Les informations ne sont plus disponibles car le compte de cet utilisateur est supprimé (Règlement RGPD)
  • onlinestampsnl-dev

    2 messages

    Pays-Bas

    Hello @ismail,

    I'm still having the same error:

    It tells me that the fieldsDeliveryDestination, ActivatedPayment and DescriptionShippingAndHandling are missing.

    This is the message returned:

    c7dd87675ec96f6e913ccbc8358eaad4 2017-12-11 10:59:13 item POST 400 err_missingDeliveryDestination, err_missingActivatedPayment, err_missingDescriptionShippingAndHandling "

    Kind regards,

    Thijs Otter
  • @kevin
    Administrateur

    102 messages

    Belgique

    Hello onlinestampsnl,

    You just have to add a deliveryDestination, a descriptionShippingAndHandling and a active payment method to use your test account.

    Login with your test account (onlinestampsnl-test) and add these informations by clicking on the buttons here : Lien (https)

    You would be able to use the api after that.

    Have a nice day,

Rejoignez la communauté des collectionneurs !

S'inscrire Se connecter