API - adding a product not working

  • onlinestampsnl-dev

    2 berichten

    Nederland

    1. API - adding a product
    We have tried to implement the POST /item/ functionality from Github ( Link (https) < Link (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 ( Link (https) < Link (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?
  • Rekening verwijderd
    Beheerder
    Rekening verwijderd

    0 berichten

    België

    De informatie is niet meer beschikbaar omdat de rekening van deze gebruiker is verwijderd (AVG)
  • onlinestampsnl-dev

    2 berichten

    Nederland

    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
    Beheerder

    102 berichten

    België

    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 : Link (https)

    You would be able to use the api after that.

    Have a nice day,

Word lid van de verzamelaars-community!

Registreren Aanmelden