Pulpo WMS icon

Pulpo WMS

Interact with the Pulpo WMS API

Actions23

Incoming Good → Create

AI-generated

Summary

Create a new incoming good document in Pulpo WMS with a specified document type and optional additional details.

Inputs

  • Document Type (required) — Specifies the type of document generating this incoming good, such as Purchase Order, Return, or None.
  • Additional Fields — Optional parameters including criterium for grouping, reception window start and end dates, an array of line items in JSON format (each item contains product_id, quantity, and optional line_order_id and notes), merchant channel ID, merchant ID, notes, linked purchase order ID, linked sales order ID (for returns), supplier (third party) ID, and receiving warehouse ID (selectable or via expression).

Output shape

a single record

Returns the newly created incoming good document as a JSON object with its details. If creation fails, an error is thrown.

Examples

Example 1: Creating an incoming good from a purchase order with specified items and linked warehouse

Document Type set to 'Purchase Order'; Additional Fields specifying a start date, end date, items array with product IDs and quantities, and the warehouse ID.

Links

Discussion