@shipengine/alchemy 5.0.5 → 5.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +6 -0
- package/index.mjs +6 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -16411,6 +16411,12 @@ class ShippingRulesAPI {
|
|
|
16411
16411
|
this.list = () => {
|
|
16412
16412
|
return this.client.get(`/v1/shipping_rules`);
|
|
16413
16413
|
};
|
|
16414
|
+
/**
|
|
16415
|
+
* The `get` method retrieves a specific shipping rule by `shippingRuleId`.
|
|
16416
|
+
*/
|
|
16417
|
+
this.get = (shippingRuleId) => {
|
|
16418
|
+
return this.client.get(`/v1/shipping_rules/${shippingRuleId}`);
|
|
16419
|
+
};
|
|
16414
16420
|
/**
|
|
16415
16421
|
* The `create` method creates a new shipping rule for a given user.
|
|
16416
16422
|
*/
|
package/index.mjs
CHANGED
|
@@ -16389,6 +16389,12 @@ class ShippingRulesAPI {
|
|
|
16389
16389
|
this.list = () => {
|
|
16390
16390
|
return this.client.get(`/v1/shipping_rules`);
|
|
16391
16391
|
};
|
|
16392
|
+
/**
|
|
16393
|
+
* The `get` method retrieves a specific shipping rule by `shippingRuleId`.
|
|
16394
|
+
*/
|
|
16395
|
+
this.get = (shippingRuleId) => {
|
|
16396
|
+
return this.client.get(`/v1/shipping_rules/${shippingRuleId}`);
|
|
16397
|
+
};
|
|
16392
16398
|
/**
|
|
16393
16399
|
* The `create` method creates a new shipping rule for a given user.
|
|
16394
16400
|
*/
|