All URIs are relative to http://localhost/rest/default
Method | HTTP request | Description |
---|---|---|
catalog_product_tier_price_management_v1_add_post | POST /V1/products/{sku}/group-prices/{customerGroupId}/tiers/{qty}/price/{price} | |
catalog_product_tier_price_management_v1_get_list_get | GET /V1/products/{sku}/group-prices/{customerGroupId}/tiers | |
catalog_product_tier_price_management_v1_remove_delete | DELETE /V1/products/{sku}/group-prices/{customerGroupId}/tiers/{qty} |
bool catalog_product_tier_price_management_v1_add_post(sku, customer_group_id, price, qty)
Create tier price for product
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.CatalogProductTierPriceManagementV1Api()
sku = 'sku_example' # str |
customer_group_id = 'customer_group_id_example' # str | 'all' can be used to specify 'ALL GROUPS'
price = 3.4 # float |
qty = 3.4 # float |
try:
api_response = api_instance.catalog_product_tier_price_management_v1_add_post(sku, customer_group_id, price, qty)
pprint(api_response)
except ApiException as e:
print("Exception when calling CatalogProductTierPriceManagementV1Api->catalog_product_tier_price_management_v1_add_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
sku | str | ||
customer_group_id | str | 'all' can be used to specify 'ALL GROUPS' | |
price | float | ||
qty | float |
bool
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
list[CatalogDataProductTierPriceInterface] catalog_product_tier_price_management_v1_get_list_get(sku, customer_group_id)
Get tier price of product
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.CatalogProductTierPriceManagementV1Api()
sku = 'sku_example' # str |
customer_group_id = 'customer_group_id_example' # str | 'all' can be used to specify 'ALL GROUPS'
try:
api_response = api_instance.catalog_product_tier_price_management_v1_get_list_get(sku, customer_group_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling CatalogProductTierPriceManagementV1Api->catalog_product_tier_price_management_v1_get_list_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
sku | str | ||
customer_group_id | str | 'all' can be used to specify 'ALL GROUPS' |
list[CatalogDataProductTierPriceInterface]
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
bool catalog_product_tier_price_management_v1_remove_delete(sku, customer_group_id, qty)
Remove tier price from product
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.CatalogProductTierPriceManagementV1Api()
sku = 'sku_example' # str |
customer_group_id = 'customer_group_id_example' # str | 'all' can be used to specify 'ALL GROUPS'
qty = 3.4 # float |
try:
api_response = api_instance.catalog_product_tier_price_management_v1_remove_delete(sku, customer_group_id, qty)
pprint(api_response)
except ApiException as e:
print("Exception when calling CatalogProductTierPriceManagementV1Api->catalog_product_tier_price_management_v1_remove_delete: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
sku | str | ||
customer_group_id | str | 'all' can be used to specify 'ALL GROUPS' | |
qty | float |
bool
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]