Skip to main content

Fulfillment

Fulfillment is all the steps a organisation takes between receiving a new order and placing that order into the customer’s hands. The practice involves warehousing, picking and packing the product, shipping it.

Fulfillment Object

Attributes


AttributeTypeDescription
autoFulfilledbooleanFlag will pass as true for auto fulfilled flow.
documentCodestringDocument code
parentDocumentSeqCodestringSequence code of the parent document
documentTypestringDocument Type, Stage from where fulfillment is requested.
documentDatestringDocument date
contactCodestringContact code
contactNamestringContact name
fulfillmentDatestringFulfillment date
fulfillmentItemDtoslistFulfillment item details. Attribute for FulfillmentItemDto
fulfillmentTypeenumPossible values for fulfillmentType
fulfillmentCodestringFulfillment specific unique code
sequenceintFulfillment group sequence
statusstringFulfillment status
warehouseCodestringwarehouse code
linkedDocumentsarrayArray of linked documents associated with the fulfillment
isPartialInvoicebooleanHas the value true if the fulfillment is linked to a partial invoice or false otherwise
linkedPIDocumentobjectLinked purchase invoice document info
customFieldlistList of key-value pairs for custom field name and its value
parentFulfillmentCodestringCode of the parent fulfillment, when this fulfillment was split from another
transactionLinkIdlongIdentifier linking related fulfillment transactions
isBulkFulfillmentbooleanHas the value true if the fulfillment was created as part of a bulk fulfillment or false otherwise
bulkItemCountintNumber of items included in a bulk fulfillment
reservedStockbooleanHas the value true if stock is reserved for the fulfillment or false otherwise
sourcestringSource of the fulfillment record
attachmentsarrayArray of file attachments
attachmentIdslistList of attachment ids of the fulfillment
isQcEnabledbooleanHas the value true if quality control is enabled for the fulfillment or false otherwise
customerOrderNumberstringCustomer order number associated with the fulfillment
shipFromobjectShip from address
shipToobjectShip to address
approvalStatusenumApproval status of the fulfillment. Possible values for approval status
approverslistList of approvers for the fulfillment
approvalCriteriastringApproval criteria applied to the fulfillment

API


Search Fulfillments

Returns a paginated list of fulfillments.

Parameters

  • accessToken string
  • search string
  • customFields string
  • sort string
  • sortDir string
  • page int
  • limit int

Code

  @Autowired
private InventoryApiClient inventoryApiClient;

public Page<FulfillmentResponse> searchFulfillments(String search, String customFields, String sort,
String sortDir, Integer page, Integer limit, String accessToken){
return this.inventoryApiClient.searchFulfillments(search, customFields, sort, sortDir, page, limit, accessToken);
}

Create Fulfillment

Creates a new fulfillment.

Parameters

Code

  @Autowired
private InventoryApiClient inventoryApiClient;

public FulfillmentResponse createFulfillment(FulfillmentRequest fulfillmentRequest, String accessToken){
return this.inventoryApiClient.createFulfillment(fulfillmentRequest, accessToken);
}

Retrieve Fulfillment

Retrieves the details of an existing fulfillment. You only need to supply the unique fulfillment code that was returned upon fulfillment creation.

Parameters

Code

  @Autowired
private InventoryApiClient inventoryApiClient;

public FulfillmentResponse getFulfillmentByCode(String fulfillmentCode, String accessToken){
return this.inventoryApiClient.getFulfillmentByCode(fulfillmentCode, accessToken);
}

Delete Fulfillment

Deletes an existing fulfillment. You only need to supply the unique identifier that was returned upon fulfillment creation.

Parameters

Code

  @Autowired
private InventoryApiClient inventoryApiClient;

public void deleteFulfillment(Long fulfillmentId, String accessToken){
this.inventoryApiClient.deleteFulfillment(fulfillmentId, accessToken);
}

Objects


FulfillmentResponse

FulfillmentResponse includes all attributes of Fulfillment, plus the following response-only attributes.

AttributeTypeDescription
idlongUnique identifier for the fulfillment.
deletebooleanHas the value true if the fulfillment is deleted or false otherwise.
linkedWareHousesarrayArray of warehouses linked to the fulfillment.
createdBylongIdentifier of the user who created the fulfillment.
attachmentsWithLinklistList of attachment details including download links.
ffSentForToleranceApprovalbooleanHas the value true if the fulfillment was sent for tolerance approval or false otherwise.
linkedTolerancePendingApprovalFFstringCode of the linked fulfillment pending tolerance approval.

FulfillmentItemDto

NameTypeDescription
idlongUnique identifier for the fulfillment item.
codestringFulfillment item code
documentItemCodestringDocument order code, It will be Quotaion/Invoice item code.
documentSequenceCodestringSequence code of the document the item belongs to
sequenceintFulfillment item sequence
productCodestringProduct code
productNamestringProduct Name
productTypestringProduct type
productDescriptionstringProduct description
fulfillmentDatestringFulfillment date
quantityRequiredBigDecimalOrdered Quantity
pendingQuantityBigDecimalPending quantity
fulfilledQuantityBigDecimalFulfilled quantity
availableProductQuantityBigDecimal
uomQuantityRequiredBigDecimalOrdered quantity in the item's unit of measurement
uomPendingQuantityBigDecimalPending quantity in the item's unit of measurement
uomFulfilledQuantityBigDecimalFulfilled quantity in the item's unit of measurement
uomAvailableProductQuantityBigDecimalAvailable quantity in the item's unit of measurement
uomNamestringName of the unit of measurement
documentUomlongUnit of measurement identifier used on the document
documentUOMSchemaDefinitionobjectUnit of measurement schema definition used on the document
warehouseCodestringWarehouse code
warehouseInventoryDatalistList of warehouse-level inventory details for the item
isPartialInvoicebooleanHas the value true if the item belongs to a partial invoice or false otherwise
linkedPIItemCodestringCode of the linked purchase invoice item
advancedTrackingenumAdvanced tracking type of the item. Possible values for advanced tracking type
advancedTrackingTypeenumAdvanced tracking type of the item. Possible values for advanced tracking type
advancedTrackingFulfilmentDatalistList of advanced tracking (batch/serial) fulfillment details
trackingInformationlistList of advanced tracking (batch/serial) details
isQuickCommitbooleanHas the value true if the item was quick-committed or false otherwise
customFieldlistList of key-value pairs for custom field name and its value
linkedWareHousesarrayArray of warehouses linked to the item
reservedQuantityDatalistList of reserved quantity details for the item
qtyAboveToleranceLimitBigDecimalQuantity above the configured tolerance limit
toleranceLimitBigDecimalTolerance limit configured for the item
acceptedQtyBigDecimalAccepted quantity
rejectedQtyBigDecimalRejected quantity
isLocalizedUomQtybooleanHas the value true if the unit of measurement quantity is localized or false otherwise
localizedBaseQtyDiffBigDecimalDifference in base quantity due to localization
unlocalizedDocumentUOMSchemaDefinitionobjectUnit of measurement schema definition before localization

Pageable

NameTypeDescription
offsetlong
pageNumberint
pageSizeint
pagedboolean
sortSort
unpagedboolean

Sort

NameTypeDescription
emptyboolean
sortedboolean
unsortedboolean

Page«FulfillmentResponse»

NameTypeDescription
contentlistList of Fulfillment. Attribute for content
emptyboolean
firstboolean
lastboolean
numberint
numberOfElementsint
pageablePageable
sizeint
sortSort
totalElementslong
totalPagesint

Enums


FULFILLMENT_TYPE

  • NONE
  • DEFAULT
  • PICK_PACK_SHIP
  • DROP_SHIP

APPROVAL_STATUS

  • APPROVED
  • PENDING_FOR_APPROVAL
  • EDITING
  • REJECTED
  • NOT_REQUIRED
  • PULLED_BACK

ADVANCEDTRACKINGTYPE

  • NONE
  • BATCH
  • SERIAL