All URIs are relative to https://api.staging.floriday.io/suppliers-api-2024v1
Method | HTTP request | Description |
---|---|---|
add_bundled_offer | POST /bundled-offers | supply:write - creates a bundled offer. |
delete_bundled_offer | DELETE /bundled-offers/{bundledOfferId} | supply:write - delete a bundled offer |
edit_bundled_offer | PUT /bundled-offers/{bundledOfferId} | supply:write - update a bundled offer |
get_bundled_offer_by_bundled_offer_line_id | GET /bundled-offers/by-bundled-offer-line-id | supply:read - Returns a bundled offer. |
get_bundled_offer_by_id | GET /bundled-offers/{bundledOfferId} | supply:read - Returns a bundled offer. |
get_bundled_offers_by_sequence_number | GET /bundled-offers/sync/{sequenceNumber} | supply:read - rate limit: 3.4 per second - burst limit: 1000 - Returns a list of max 1000 Bundled offers starting from a specified sequence number. |
get_bundled_offers_max_sequence | GET /bundled-offers/current-max-sequence | supply:read - rate limit: 3.4 per second - burst limit: 1000 - Returns the maximum sequence number found in bundled offers. |
add_bundled_offer(body)
supply:write - creates a bundled offer.
from __future__ import print_function
import time
import floriday_supplier_client
from floriday_supplier_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: JWT Token
configuration = floriday_supplier_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Configure API key authorization: X-Api-Key
configuration = floriday_supplier_client.Configuration()
configuration.api_key['X-Api-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'
# create an instance of the API class
api_instance = floriday_supplier_client.BundledOffersApi(floriday_supplier_client.ApiClient(configuration))
body = floriday_supplier_client.AddBundledOffer() # AddBundledOffer |
try:
# supply:write - creates a bundled offer.
api_instance.add_bundled_offer(body)
except ApiException as e:
print("Exception when calling BundledOffersApi->add_bundled_offer: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | AddBundledOffer |
void (empty response body)
[JWT Token](../README.md#JWT Token), X-Api-Key
- Content-Type: application/json-patch+json, application/json, text/json, application/*+json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
delete_bundled_offer(bundled_offer_id)
supply:write - delete a bundled offer
from __future__ import print_function
import time
import floriday_supplier_client
from floriday_supplier_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: JWT Token
configuration = floriday_supplier_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Configure API key authorization: X-Api-Key
configuration = floriday_supplier_client.Configuration()
configuration.api_key['X-Api-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'
# create an instance of the API class
api_instance = floriday_supplier_client.BundledOffersApi(floriday_supplier_client.ApiClient(configuration))
bundled_offer_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str |
try:
# supply:write - delete a bundled offer
api_instance.delete_bundled_offer(bundled_offer_id)
except ApiException as e:
print("Exception when calling BundledOffersApi->delete_bundled_offer: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
bundled_offer_id | str |
void (empty response body)
[JWT Token](../README.md#JWT Token), X-Api-Key
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
edit_bundled_offer(body, bundled_offer_id)
supply:write - update a bundled offer
from __future__ import print_function
import time
import floriday_supplier_client
from floriday_supplier_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: JWT Token
configuration = floriday_supplier_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Configure API key authorization: X-Api-Key
configuration = floriday_supplier_client.Configuration()
configuration.api_key['X-Api-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'
# create an instance of the API class
api_instance = floriday_supplier_client.BundledOffersApi(floriday_supplier_client.ApiClient(configuration))
body = floriday_supplier_client.EditBundledOffer() # EditBundledOffer |
bundled_offer_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str |
try:
# supply:write - update a bundled offer
api_instance.edit_bundled_offer(body, bundled_offer_id)
except ApiException as e:
print("Exception when calling BundledOffersApi->edit_bundled_offer: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | EditBundledOffer | ||
bundled_offer_id | str |
void (empty response body)
[JWT Token](../README.md#JWT Token), X-Api-Key
- Content-Type: application/json-patch+json, application/json, text/json, application/*+json
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BundledOffer get_bundled_offer_by_bundled_offer_line_id(bundled_offer_line_id)
supply:read - Returns a bundled offer.
from __future__ import print_function
import time
import floriday_supplier_client
from floriday_supplier_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: JWT Token
configuration = floriday_supplier_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Configure API key authorization: X-Api-Key
configuration = floriday_supplier_client.Configuration()
configuration.api_key['X-Api-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'
# create an instance of the API class
api_instance = floriday_supplier_client.BundledOffersApi(floriday_supplier_client.ApiClient(configuration))
bundled_offer_line_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str |
try:
# supply:read - Returns a bundled offer.
api_response = api_instance.get_bundled_offer_by_bundled_offer_line_id(bundled_offer_line_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling BundledOffersApi->get_bundled_offer_by_bundled_offer_line_id: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
bundled_offer_line_id | str |
[JWT Token](../README.md#JWT Token), X-Api-Key
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BundledOffer get_bundled_offer_by_id(bundled_offer_id)
supply:read - Returns a bundled offer.
from __future__ import print_function
import time
import floriday_supplier_client
from floriday_supplier_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: JWT Token
configuration = floriday_supplier_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Configure API key authorization: X-Api-Key
configuration = floriday_supplier_client.Configuration()
configuration.api_key['X-Api-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'
# create an instance of the API class
api_instance = floriday_supplier_client.BundledOffersApi(floriday_supplier_client.ApiClient(configuration))
bundled_offer_id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # str |
try:
# supply:read - Returns a bundled offer.
api_response = api_instance.get_bundled_offer_by_id(bundled_offer_id)
pprint(api_response)
except ApiException as e:
print("Exception when calling BundledOffersApi->get_bundled_offer_by_id: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
bundled_offer_id | str |
[JWT Token](../README.md#JWT Token), X-Api-Key
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SyncResultOfBundledOffer get_bundled_offers_by_sequence_number(sequence_number, limit_result=limit_result)
supply:read - rate limit: 3.4 per second - burst limit: 1000 - Returns a list of max 1000 Bundled offers starting from a specified sequence number.
Synchronization endpoint Fetches the succeeding modified records (including deleted records) based on Limit
and the given SequenceNumber
. Note Your data is up to date when your given SequenceNumber
is equal to the received MaximumSequenceNumber
.
from __future__ import print_function
import time
import floriday_supplier_client
from floriday_supplier_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: JWT Token
configuration = floriday_supplier_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Configure API key authorization: X-Api-Key
configuration = floriday_supplier_client.Configuration()
configuration.api_key['X-Api-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'
# create an instance of the API class
api_instance = floriday_supplier_client.BundledOffersApi(floriday_supplier_client.ApiClient(configuration))
sequence_number = 789 # int |
limit_result = 1000 # int | (optional) (default to 1000)
try:
# supply:read - rate limit: 3.4 per second - burst limit: 1000 - Returns a list of max 1000 Bundled offers starting from a specified sequence number.
api_response = api_instance.get_bundled_offers_by_sequence_number(sequence_number, limit_result=limit_result)
pprint(api_response)
except ApiException as e:
print("Exception when calling BundledOffersApi->get_bundled_offers_by_sequence_number: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
sequence_number | int | ||
limit_result | int | [optional] [default to 1000] |
[JWT Token](../README.md#JWT Token), X-Api-Key
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
int get_bundled_offers_max_sequence()
supply:read - rate limit: 3.4 per second - burst limit: 1000 - Returns the maximum sequence number found in bundled offers.
from __future__ import print_function
import time
import floriday_supplier_client
from floriday_supplier_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: JWT Token
configuration = floriday_supplier_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Configure API key authorization: X-Api-Key
configuration = floriday_supplier_client.Configuration()
configuration.api_key['X-Api-Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['X-Api-Key'] = 'Bearer'
# create an instance of the API class
api_instance = floriday_supplier_client.BundledOffersApi(floriday_supplier_client.ApiClient(configuration))
try:
# supply:read - rate limit: 3.4 per second - burst limit: 1000 - Returns the maximum sequence number found in bundled offers.
api_response = api_instance.get_bundled_offers_max_sequence()
pprint(api_response)
except ApiException as e:
print("Exception when calling BundledOffersApi->get_bundled_offers_max_sequence: %s\n" % e)
This endpoint does not need any parameter.
int
[JWT Token](../README.md#JWT Token), X-Api-Key
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]