Skip to content

Commit 4062b9d

Browse files
authored
Merge pull request #97 from sadhanaa21/shopify-api-endpoints
Improved: Updated the format of defining APIs order/details and order/count
2 parents 48f0e26 + 3379c7f commit 4062b9d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

service/shopify.rest.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ under the License.
3030
<service name="co.hotwax.shopify.order.ShopifyOrderServices.get#OrderCount"/>
3131
</method>
3232
</resource>
33+
<resource name="details" require-authentication="anonymous-all">
34+
<method type="get">
35+
<service name="co.hotwax.shopify.order.ShopifyOrderServices.get#OrderDetails"/>
36+
</method>
37+
</resource>
3338
</resource>
3439
<resource name="bulk" require-authentication="anonymous-all">
3540
<resource name="query" require-authentication="anonymous-all">
@@ -38,9 +43,4 @@ under the License.
3843
</method>
3944
</resource>
4045
</resource>
41-
<resource name="order">
42-
<method type="get">
43-
<service name="co.hotwax.shopify.order.ShopifyOrderServices.get#OrderDetails"/>
44-
</method>
45-
</resource>
4646
</resource>

0 commit comments

Comments
 (0)