How to add information to vendor endpoint response

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM Marketplace – REST API How to add information to vendor endpoint response

Viewing 2 reply threads
  • Author
    Posts
    • #133282
      agenciafagulha
      Participant

      How can I add information like store URL and user avatar URL to the GET Vendors API endpoint

    • #133446
      Sayan Naskar
      Keymaster

      Hello,
      You can use this filter
      apply_filters( "wcfmapi_rest_prepare_store_vendors_objects", $response, $request ); to add any data to the rest api route of the vendor api.

      Thank You

    • #133460
      Sushobhan
      Keymaster

      Hi,
      Thanks for getting in touch with us!
      Our next update will have this endpoint.
      Thank You!

Viewing 2 reply threads
  • You must be logged in to reply to this topic.