Okay
  Public Ticket #2525662
Functionality
Closed

Comments

  • Gavin Coulson started the conversation

    Curious if there's anyway to retrieve booking and service details in Amelia (price, customer info, etc) for usage in theme templates? For example if I want to build out my own pricing list, and just retrieve the service name and price based on service ID via php in a theme template?

  • [deleted] replied

    Hi Gavin Coulson,

    Thank you for your interest in our plugin.

    To achieve this you can call this endpoint, you will get JSON and there you need to find what you need to retrieve for your pricing list.

    /wp-admin/admin-ajax.php?action=wpamelia_api&call=/entities&types[]=locations&types[]=employees&types[]=categories&types[]=custom_fields&types[]=events

    Also, you will need to remove parameters that you don't need. You can purchase our plugin and try this (or try with our Lite version), we have '15 days money back' guarantee so if you don't succeed you can ask for a refund in the first 15 days.

    Best regards.