Skip to content

Reduce number of calls for critical path #66

@nickevansuk

Description

@nickevansuk

Source

Netpulse

Feedback

While booking a class, right now we have to do several API calls:
a) When no purchase needed for the booking: create order -> add class to order -> get order -> complete order
b) When purchase is needed: create order -> add class to order -> get order -> add payment -> complete order (not supported by Netpulse standard API flows)

It would be great if we could do the above mentioned in just one API call at least for the case a). Since our app allows users to book a class in just one click, the more API calls involved, the longer user is waiting for a booking result (and also there might be unexpected errors that break the whole API requests chain).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions