Beispiel #1
0
 public async Task <WeorderApiResponse <Order> > Create(string integrationId, Order order)
 {
     return(await _client.MakeApiRequest <Order>($"integrations/{integrationId}/orders", RequestMethod.POST, order));
 }
Beispiel #2
0
 public async Task <WeorderApiResponse <Inventory> > Get(string integrationId, string inventoryId)
 {
     return(await _client.MakeApiRequest <Inventory>($"integrations/{integrationId}/inventories/{inventoryId}"));
 }
 public async Task <WeorderApiResponse <TableSession> > Get(string integrationId, string tableSessionId)
 {
     return(await _client.MakeApiRequest <TableSession>($"integrations/{integrationId}/table-sessions/{tableSessionId}"));
 }
 public async Task <WeorderApiResponse <List <Integration> > > Get()
 {
     return(await _client.MakeApiRequest <List <Integration> >($"integrations"));
 }