All URIs are relative to http://localhost/rest/default
Method | HTTP request | Description |
---|---|---|
gift_message_item_repository_v1_get_get | GET /V1/carts/{cartId}/gift-message/{itemId} | |
gift_message_item_repository_v1_get_get_0 | GET /V1/carts/mine/gift-message/{itemId} | |
gift_message_item_repository_v1_save_post | POST /V1/carts/{cartId}/gift-message/{itemId} | |
gift_message_item_repository_v1_save_post_0 | POST /V1/carts/mine/gift-message/{itemId} |
GiftMessageDataMessageInterface gift_message_item_repository_v1_get_get(cart_id, item_id)
Return the gift message for a specified item in a specified shopping cart.
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.GiftMessageItemRepositoryV1Api()
cart_id = 56 # int | The shopping cart ID.
item_id = 56 # int | The item ID.
try:
api_response = api_instance.gift_message_item_repository_v1_get_get(cart_id, item_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling GiftMessageItemRepositoryV1Api->gift_message_item_repository_v1_get_get: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
cart_id | int | The shopping cart ID. | |
item_id | int | The item ID. |
GiftMessageDataMessageInterface
No authorization required
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GiftMessageDataMessageInterface gift_message_item_repository_v1_get_get_0(item_id)
Return the gift message for a specified item in a specified shopping cart.
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.GiftMessageItemRepositoryV1Api()
item_id = 56 # int | The item ID.
try:
api_response = api_instance.gift_message_item_repository_v1_get_get_0(item_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling GiftMessageItemRepositoryV1Api->gift_message_item_repository_v1_get_get_0: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
item_id | int | The item ID. |
GiftMessageDataMessageInterface
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 gift_message_item_repository_v1_save_post(cart_id, item_id, body=body)
Set the gift message for a specified item in a specified shopping cart.
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.GiftMessageItemRepositoryV1Api()
cart_id = 56 # int | The cart ID.
item_id = 56 # int | The item ID.
body = swagger_client.Body105() # Body105 | (optional)
try:
api_response = api_instance.gift_message_item_repository_v1_save_post(cart_id, item_id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling GiftMessageItemRepositoryV1Api->gift_message_item_repository_v1_save_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
cart_id | int | The cart ID. | |
item_id | int | The item ID. | |
body | Body105 | [optional] |
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]
bool gift_message_item_repository_v1_save_post_0(item_id, body=body)
Set the gift message for a specified item in a specified shopping cart.
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.GiftMessageItemRepositoryV1Api()
item_id = 56 # int | The item ID.
body = swagger_client.Body106() # Body106 | (optional)
try:
api_response = api_instance.gift_message_item_repository_v1_save_post_0(item_id, body=body)
pprint(api_response)
except ApiException as e:
print("Exception when calling GiftMessageItemRepositoryV1Api->gift_message_item_repository_v1_save_post_0: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
item_id | int | The item ID. | |
body | Body106 | [optional] |
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]