Getting issue with create order

vikram_s

Hi @...,

We are not able to create orders on threekit. Please check the below screenshot and suggest to us what we are missing.
Thanks

Comments

5 comments

  • Comment author
    William Thompson
    • Edited

    Hi vikram_s - I am back moderating the forum so you can tag myself or @... with new posts :) 

    I apologize, there was actually a typo on our documentation, I have brought it up to our team - the correct REST endpoint should be: https://preview.threekit.com/api/orders?bearer_token=[BEARER_TOKEN]

    From there you should only have to plug in a few pieces of data:


    The object from the docs should work as long as you provide an OrgID as well as a customer ID. You can choose to remove the customer ID as well. Please let me know if this helps!

    0
  • Comment author
    vikram_s
    • Edited

    Hi William Thompson, Thanks for the update.

    Now I am able to store orders on Threekit you but the customer name or address is not showing in order. Pls check the screenshot and let us know what parameters we need to pass into the request body for the customer's name and address.

    0
  • Comment author
    Ian Drews

    Hi Vikram, to populate those fields you'll need to create a customer and then identify that customer with the id that you receive from that call

    0
  • Comment author
    vikram_s
    • Edited

    Hi Lan,

    Can we change these fields' names or make new fields according to our requirements inside Threekit orders?


    0
  • Comment author
    William Thompson

    Hi Vikram, you cannot change the column headers in the platform at this time. I believe all of the available fields are in the Orders API docs page. If you need additional fields, I would suggest using the metadata section - it is very flexible. 

    0

Please sign in to leave a comment.