Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,
    What is the main goal for using wp-json rest api so I can assist you maybe a bit better?
    Could you please explain a bit deeper this issue?

    Thanks,

    Yago

    Thread Starter player0k

    (@player0k)

    I am developing a theme for a store on vuejs and using the wordpress rest api. It’s good if the plugin can use the rest api to give tracking number and the status of the parcel delivery and data for calculating the price for delivery. In short, everything that is used on the frontend is necessary.

    • This reply was modified 2 years, 9 months ago by player0k.

    Hi there,
    I am also looking for a solution to generate DHL labels per order number via API or the internal DHL function.

    Idea about the internal Ajax call: “save_dhl_label” ?

    I have also tried to use the function: PR_DHL_WC_Order_Deutsche_Post, unfortunately many functions are protected.

    I would like to display and use the Generate DHL Label button in a frontend dashboard.

    Plugin Author Shadi Manna

    (@shadim)

    The data related to tracking number is saved in the metadata of the order, it is called “_pr_shipment_dhl_label_tracking”. My guess is you should be able to read this information via REST API.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Rest API support’ is closed to new replies.