Comprehensive API documentation for managing subscriptions, payments, and related operations. These APIs allow you to programmatically manage subscription lifecycles, handle payments, configure products, and integrate subscription functionality into your applications.
External APIs (0.0.1)
Request
Creates a new shipping or delivery profile for subscription orders using the V3 request format. This is the latest version with the most comprehensive delivery profile configuration capabilities.
Enhancements in V3:
- Full support for all Shopify delivery profile features
- Advanced rate calculation options
- Support for weight-based and price-based rates
- Enhanced zone and country management
- Better handling of delivery conditions and rules
Key Features:
- Define complex shipping rate structures
- Configure multiple delivery methods per zone
- Set up conditional rates based on weight, price, or item count
- Manage detailed shipping zones with province-level granularity
- Full control over delivery profile settings
Authentication: Requires valid X-API-Key header
- https://subscription-admin.appstle.com/api/external/v2/delivery-profiles/v3/create-shipping-profile
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://subscription-admin.appstle.com/api/external/v2/delivery-profiles/v3/create-shipping-profile?api_key=string' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: string' \
-d '{
"name": "string",
"sellingPlanGroups": [
{
"label": "string",
"value": "string"
}
],
"locations": [
{
"label": "string",
"value": "string"
}
],
"zones": [
{
"countries": [
{
"value": "string",
"label": "string",
"includeAllProvinces": true,
"provinces": [
{
"label": "string",
"value": "string"
}
]
}
],
"restOfWorld": true,
"deliveryMethods": [
{
"name": "string",
"amount": 0.1,
"deliveryConditionType": "string",
"currencyCode": "USD",
"minValue": 0.1,
"maxValue": 0.1,
"weightUnit": "string",
"definitionType": "string",
"carrierServiceId": "string",
"carrierPercentageFee": 0.1,
"carrierFixedFee": 0.1
}
]
}
],
"id": "string",
"profileId": 0,
"locationInfos": [
{
"label": "string",
"value": "string"
}
]
}'{ "name": "string", "sellingPlanGroups": [ { … } ], "locations": [ { … } ], "zones": [ { … } ], "id": "string", "profileId": 0, "locationInfos": [ { … } ] }
Request
Creates a new shipping or delivery profile for subscription orders using the V2 request format. This version provides enhanced configuration options for delivery methods, zones, and pricing.
Enhancements in V2:
- Improved zone configuration
- Better support for multiple delivery methods
- Enhanced rate definition capabilities
- Support for conditional delivery rates
Key Features:
- Define custom shipping rates per zone
- Configure local delivery options
- Set up local pickup methods
- Manage shipping zones and countries
- Assign profiles to specific products or variants
Authentication: Requires valid X-API-Key header
- https://subscription-admin.appstle.com/api/external/v2/delivery-profiles/v2/create-shipping-profile
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://subscription-admin.appstle.com/api/external/v2/delivery-profiles/v2/create-shipping-profile?api_key=string' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: string' \
-d '{
"name": "string",
"locationInfos": [
{
"locationId": "string",
"countryInfos": [
{
"shouldIncludeAllProvince": true,
"code": "string",
"deliveryMethodInfo": [
{
"amount": 0.1,
"currencyCode": "USD",
"carrierServiceId": "string",
"name": "string",
"carrierRate": true,
"deliveryConditionType": "string",
"priceConditions": [
null
],
"weightConditions": [
null
]
}
],
"restOfWorld": true,
"provinceCode": "string"
}
]
}
],
"id": "string"
}'{ "id": 0, "shop": "string", "deliveryProfileId": "string", "sellerGroupIds": [ "string" ], "name": "string" }
Request
Creates a new shipping or delivery profile for subscription orders. This endpoint allows you to configure custom shipping rates, delivery methods, and shipping zones for your subscription products. Delivery profiles control how subscription products are shipped to customers.
Key Features:
- Define custom shipping rates per zone
- Configure local delivery options
- Set up local pickup methods
- Manage shipping zones and countries
- Assign profiles to specific products or variants
Delivery Method Types:
- SHIPPING: Standard shipping with carrier rates or custom rates
- LOCAL_DELIVERY: Local delivery service within specific areas
- PICKUP: Customer pickup from store locations
Important Notes:
- Each delivery profile must have a unique name
- At least one delivery method is required
- Shipping rates can be set per zone and per weight/price range
- Profiles can be assigned to subscription products to control their shipping behavior
Authentication: Requires valid X-API-Key header
- https://subscription-admin.appstle.com/api/external/v2/delivery-profiles/create-shipping-profile
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://subscription-admin.appstle.com/api/external/v2/delivery-profiles/create-shipping-profile?api_key=string' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: string' \
-d '{
"name": "string",
"id": 0,
"deliveryMethodInfo": [
{
"amount": 0.1,
"currencyCode": "USD",
"carrierServiceId": "string",
"name": "string",
"carrierRate": true,
"deliveryConditionType": "string",
"priceConditions": [
{
"amount": 0.1,
"deliverCondtion": "string"
}
],
"weightConditions": [
{
"deliveryCondition": "string",
"weight": 0.1,
"weightUnit": "string"
}
]
}
],
"countryInfos": [
{
"code": "string",
"restOfWorld": true,
"provinceCode": "string",
"shouldIncludeAllProvince": true
}
],
"locationInfos": [
{
"locationId": "string",
"countryInfos": [
{
"shouldIncludeAllProvince": true,
"code": "string",
"deliveryMethodInfo": [
{
"amount": 0.1,
"currencyCode": "USD",
"carrierServiceId": "string",
"name": "string",
"carrierRate": true,
"deliveryConditionType": "string",
"priceConditions": [
null
],
"weightConditions": [
null
]
}
],
"restOfWorld": true,
"provinceCode": "string"
}
]
}
],
"restOfWorld": true
}'{ "id": "12345", "shop": "example-shop.myshopify.com", "name": "Standard Subscription Shipping", "shopifyDeliveryProfileId": "gid://shopify/DeliveryProfile/67890", "default": false, "locationGroupsCount": 1, "productsCount": 15, "profileLocationGroups": [ { … } ] }