Skip to main content
Skip table of contents

Product

Product Entity

To manage stock inventory or process orders, you must first create a product catalog. This guide walks you through all endpoints related to products and their structure.

The Product entity represents an individual item in the system. It includes key attributes such as productSku, internalSku, name, hsCode, dimensions, weight, category, and more.

Product Types in Mailship

Mailship supports three types of products:

  • Physical product: An item that is processed in orders, shipping advices, etc.

  • Virtual product: An item that appears in orders but does not physically exist in stock (e.g., an ebook, a voucher).

  • Bundle: A collection of multiple physical products combined into one package (e.g., a cosmetic set containing mascara and lipstick). In orders, a bundle breaks down into its individual products. Since bundles are not physically stocked, stock advices are not created for them; only the individual products are managed in inventory.

Each product is uniquely identified by its id and belongs to an organization.

For more details on how products are created and processed, please refer to the Knowledge Base.

Product catalog

Get list of Product

GET /api/product/{id}

Retrieves a list of all products in the catalog.

Get Product

POST /api/product/list

Fetches all data about a specific product.

Update Product

PUT /api/product/{id}

Updates an existing product.

Create Product

POST /api/product

Creates a new product.

Activate Product

PUT /api/product/activate/{id}

Activates a product in Mailship.

Deactivate Product

PUT /api/product/deactivate/{id}

Deactivates a product in Mailship.

Activate multiple Products

PUT /api/product/activate

Bulk activation of multiple products.

Deactivate multiple Products

PUT /api/product/deactivate

Bulk deactivation of multiple products.

For more details, please visit other subsections in the expedition category.

Additional Product Catalog Actions

Beyond creating and updating products, you can also manage product images and assign product services.

Product Image

This endpoint allows you to upload an image for a specific product identified by {productId}.

Upload Product Image (JSON)

PUT api/product/{productId}/image/upload

Upload an image to a product using a JSON request.

Upload Product Image (FORM)

POST api/product/{productId}/image/upload

Upload an image to a product using a form request.

Get Product Image

GET api/product/{productId}/{imageId}

Retrieve the product image.

Delete Product Image

DEL api/product/{productId}/{imageId}

Remove the product image.

Product Service

A product service is a specialized feature associated with a product.

If you are interested in activating product service on your product, please contact our customer service.

Currently, Mailship supports the following product service:

  • Inbound Localisation Check

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.