Skip to main content

SDK for walmart by APIMatic

Project description

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

SDK Infrastructure

Configuration

HTTP

Utilities

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

walmart_solutions_apimatic_sdk-0.0.1.tar.gz (97.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

walmart_solutions_apimatic_sdk-0.0.1-py3-none-any.whl (365.8 kB view details)

Uploaded Python 3

File details

Details for the file walmart_solutions_apimatic_sdk-0.0.1.tar.gz.

File metadata

File hashes

Hashes for walmart_solutions_apimatic_sdk-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7c2fe5ad79a8c624250b694c2fb89863428bd07846d04518d0351655d3b05728
MD5 3f24720d82957ff67e526ae94872cf4d
BLAKE2b-256 238032007f07f4bf33551beb95ad70540432b086fc55bc9adc8758fc16b71401

See more details on using hashes here.

File details

Details for the file walmart_solutions_apimatic_sdk-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for walmart_solutions_apimatic_sdk-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0db5131ab8a4f1a555040d344034cbe7abaddbbabfb8c9c54c3f9c937ef60ae1
MD5 e4e17449cfdcdbbd7b7c6faf645d857a
BLAKE2b-256 ab370605c7daac4a662acafd3a91c4f185026c2205ce3fcfeaedce7fad9c8fd0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page