Beispiel #1
0
 public override string Path()
 {
     return(ShopifyAPIContext.UriPathJoin(ParentResource.InstanceOrVerbPath(ParentInstance.Id.ToString()), ShopifyAPIContext.Pluralize(Name)));
 }
Beispiel #2
0
 public string InstanceOrVerbPath(string id)
 {
     return(ShopifyAPIContext.UriPathJoin(Path(), id));
 }
Beispiel #3
0
 public async Task CallAction(T instance, string action)
 {
     await Context.CallRaw(HttpMethod.Post,
                           Context.GetRequestContentType(),
                           ShopifyAPIContext.UriPathJoin(InstancePath(instance.Id.Value), action), FullParameters(), null);
 }
Beispiel #4
0
 public virtual string Path()
 {
     return(ShopifyAPIContext.UriPathJoin(Context.AdminPath(), ShopifyAPIContext.Pluralize(Name)));
 }