Getting Started with Inventory Management and Item Management and Order Management and Price Management
Introduction
Maintaining up-to-date inventory for your items on Walmart.com ensures a great experience for your customers and greater sales opportunities for you., The Item Management APIs enable you to set up and manage items on Walmart.com. Once you have completed Registration and have access to your Consumer ID and Private Key, you can get started with the integration process, The Walmart Order Management APIs help Sellers to manage customer’s Sales Orders and to stay up-to-date on orders fulfillment, which orders to fulfill, and when to fulfill them., The price is a fundamental building block for your listing on Walmart.com. You can use the price management APIs to set up and manage the price for a given item
Install the Package
The package is compatible with Python versions 3.7+.
Install the package from PyPi using the following pip command:
pip install walmart-solutions-apimatic-sdk==0.0.1
You can also view the package at: https://pypi.python.org/pypi/walmart-solutions-apimatic-sdk/0.0.1
Test the SDK
You can test the generated SDK and the server with test cases. unittest is used as the testing framework and pytest is used as the test runner. You can run the tests as follows:
Navigate to the root directory of the SDK and run the following commands
pip install -r test-requirements.txt pytest
Initialize the API Client
Note: Documentation for the client can be found here.
The following parameters are configurable for the API Client:
| Parameter | Type | Description |
|---|---|---|
| http_client_instance | Union[Session, HttpClientProvider] |
The Http Client passed from the sdk user for making requests |
| override_http_client_configuration | bool |
The value which determines to override properties of the passed Http Client from the sdk user |
| http_call_back | HttpCallBack |
The callback value that is invoked before and after an HTTP call is made to an endpoint |
| timeout | float |
The value to use for connection timeout. Default: 60 |
| max_retries | int |
The number of times to retry an endpoint call if it fails. Default: 0 |
| backoff_factor | float |
A backoff factor to apply between attempts after the second try. Default: 2 |
| retry_statuses | Array of int |
The http statuses on which retry is to be done. Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524] |
| retry_methods | Array of string |
The http methods on which retry is to be done. Default: ["GET", "PUT"] |
| proxy_settings | ProxySettings |
Optional proxy configuration to route HTTP requests through a proxy server. |
The API client can be initialized as follows:
Code-Based Client Initialization
from inventorymanagementanditemmanagementandordermanagementandpricemanagement.configuration import Environment
from inventorymanagementanditemmanagementandordermanagementandpricemanagement.inventorymanagementanditemmanagementandordermanagementandpricemanagement_client import InventorymanagementanditemmanagementandordermanagementandpricemanagementClient
client = InventorymanagementanditemmanagementandordermanagementandpricemanagementClient(
environment=Environment.PRODUCTION
)
Environment-Based Client Initialization
from inventorymanagementanditemmanagementandordermanagementandpricemanagement.inventorymanagementanditemmanagementandordermanagementandpricemanagement_client import InventorymanagementanditemmanagementandordermanagementandpricemanagementClient
# Specify the path to your .env file if it’s located outside the project’s root directory.
client = InventorymanagementanditemmanagementandordermanagementandpricemanagementClient.from_environment(dotenv_path='/path/to/.env')
See the Environment-Based Client Initialization section for details.
List of APIs
- Inventory
- Sku
- Inventories
- Feeds
- Spec
- Search
- Associations
- Id
- Taxonomy
- Count
- Items
- Shipping
- Refund
- Cancel
- Acknowledge
- Purchase Order Id
- Released
- Orders
- Strategy Collection Id
- Strategy
- Strategies
- Wfpreference
- Incentives
- Get Pricing Insights
- Price
- Repricer Feeds
- Cppreference
SDK Infrastructure
Configuration
HTTP
Utilities
Metadata
Release files for walmart-solutions-apimatic-sdk 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| walmart_solutions_apimatic_sdk-0.0.1.tar.gz | 97.0 kB | Without provenance | Details for walmart_solutions_apimatic_sdk-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| walmart_solutions_apimatic_sdk-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for walmart_solutions_apimatic_sdk-0.0.1-py3-none-any.whl |
Total release size: 462.8 kB
Release files / walmart_solutions_apimatic_sdk-0.0.1.tar.gz
| Download URL | walmart_solutions_apimatic_sdk-0.0.1.tar.gz |
|---|---|
| Size | 97.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c2fe5ad79a8c624250b694c2fb89863428bd07846d04518d0351655d3b05728
|
|
BLAKE2b-256 checksum How to use checksums |
238032007f07f4bf33551beb95ad70540432b086fc55bc9adc8758fc16b71401
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.13
|
Release files / walmart_solutions_apimatic_sdk-0.0.1-py3-none-any.whl
| Download URL | walmart_solutions_apimatic_sdk-0.0.1-py3-none-any.whl |
|---|---|
| Size | 365.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0db5131ab8a4f1a555040d344034cbe7abaddbbabfb8c9c54c3f9c937ef60ae1
|
|
BLAKE2b-256 checksum How to use checksums |
ab370605c7daac4a662acafd3a91c4f185026c2205ce3fcfeaedce7fad9c8fd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.13
|
Security for walmart-solutions-apimatic-sdk 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.