跳转到内容

Item Mapping — Inventory

此内容尚不支持你的语言。

Teapplix allows you to perform Item Mapping, which basically translate names from Marketplaces to real “ItemName” in Teapplix Inventory System.

You can query (GET), create (POST) or delete (DELETE) item mappings using the /ProductXref end point:

https://api.teapplix.com/api2/ProductXref Explorer

GET Request

Query parameters

PropertyTypeDescriptionConstraints
TeapplixSKU string Teapplix SKU
SourceItemName string Item Name of product
PageSize string Max records to return per response. Default 100. Limit 1000. Use 'Next' or 'Prev' link to paginate
PageNumber string Page number. Considering PageNumber, returns the PageNumber-th page, 1-indexed

GET Response - 200

Product Mapping Response

PropertyTypeDescriptionConstraints
ProductXrefs Product Mapping[] Required
Pagination Pagination Declares pagination data

Pagination

Declares pagination data

PropertyTypeDescriptionConstraints
PageSize integer Current Page Size
PageNumber integer Current Page Number. Increase it to get next set of data until you get empty items list.
TotalPages integer Total Pages
Warning string Warning message

Product Mapping

Declares product mapping

PropertyTypeDescriptionConstraints
SourceItemName string Required
TeapplixSKU string Required

GET Response - 400

Message

PropertyTypeDescriptionConstraints
Success boolean Always false on this envelope. Message is the error envelope (4xx/5xx); Success is kept on the wire so legacy clients can branch on it without parsing the HTTP status. Required
Code integer Indicate error code. Codes list and description are located on help page https://www.teapplix.com/help/?page_id=7115
Message string Message typically associated with errors
Description string[] Detailed description

GET Response - 401

Message

PropertyTypeDescriptionConstraints
Success boolean Always false on this envelope. Message is the error envelope (4xx/5xx); Success is kept on the wire so legacy clients can branch on it without parsing the HTTP status. Required
Code integer Indicate error code. Codes list and description are located on help page https://www.teapplix.com/help/?page_id=7115
Message string Message typically associated with errors
Description string[] Detailed description

GET Response - 500

Message

PropertyTypeDescriptionConstraints
Success boolean Always false on this envelope. Message is the error envelope (4xx/5xx); Success is kept on the wire so legacy clients can branch on it without parsing the HTTP status. Required
Code integer Indicate error code. Codes list and description are located on help page https://www.teapplix.com/help/?page_id=7115
Message string Message typically associated with errors
Description string[] Detailed description
Test Request