> For the complete documentation index, see [llms.txt](https://docs.xorosoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xorosoft.com/developers-api/purchase-order-management/process-dropship-order-by-purchase-order.md).

# Process Dropship Order by Purchase Order

This API is used to confirm and close a dropship order using the related Purchase Order number. It allows you to post tracking and shipping details, freight, and invoice information for each order line that was dropshipped.

| Field                 | Data Type | Default Value | Description                                                |
| --------------------- | --------- | ------------- | ---------------------------------------------------------- |
| `PurchaseOrderNumber` | string    | NA            | The PO number associated with the dropship order.          |
| `PackingSlipNumber`   | string    | NA            | Packing slip number from the vendor.                       |
| `TrackingNumber`      | string    | NA            | Carrier-provided tracking number.                          |
| `CarrierName`         | string    | NA            | Name of the shipping carrier (e.g., UPS, FedEx).           |
| `ShipServiceName`     | string    | NA            | Shipping service used (e.g., USPS Priority Mail).          |
| `Freight`             | decimal   | 0             | Shipping cost charged for the dropship.                    |
| `ShipDate`            | string    | NA            | Date of shipment.                                          |
| `InvoiceDate`         | string    | NA            | Date of invoice issued.                                    |
| `OrderLines`          | array     | \[]           | Array containing line-level dropship confirmation details. |
| `Id`                  | integer   | NA            | Unique identifier for the Sales Order line.                |
| `DropshipQty`         | decimal   | 0             | Quantity of the item that was dropshipped.                 |

```json
{"openapi":"3.0.3","info":{"title":"Xorosoft ERP Public API","version":"2026.07"},"tags":[{"name":"Purchase Order Management","description":"Use Purchase Order Management APIs to create, import, release, close, link, and retrieve purchase orders. These endpoints support vendor purchasing, dropship workflows, incoming delivery visibility, transfer purchase orders, and sales-order-to-purchase-order linking. They are useful for procurement, supplier portals, 3PL coordination, and integrations that need to keep inbound supply synchronized with Xorosoft ERP."}],"servers":[{"url":"https://res.xorosoft.io","description":"Xorosoft ERP API server"}],"security":[{"basic":[]}],"components":{"securitySchemes":{"basic":{"scheme":"basic","type":"http"}}},"paths":{"/api/xerp/purchaseorder/dropshiporderbypo":{"post":{"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"Data":{"properties":{"ErroList":{"items":{},"type":"array"},"invoiceObjList":{"items":{"properties":{"ImportError":{"type":"string","nullable":true},"IsBeingAutoCreated":{"type":"boolean"},"SimulatationFlag":{"type":"boolean"},"ThirdPartyRequestRawData":{"type":"string","nullable":true},"invoiceHeader":{"properties":{"AccntReceivableId":{"type":"string"},"AccntReceivableName":{"type":"string","nullable":true},"Account3PLCode":{"type":"string","nullable":true},"Account3PLName":{"type":"string","nullable":true},"AddressVerificationIdentifierCode":{"type":"string","nullable":true},"AmountDue":{"type":"number"},"AmountPaid":{"type":"number"},"AmountToPay":{"type":"number"},"AuthorizationDetailList":{"type":"array","items":{"type":"object","additionalProperties":true},"nullable":true},"AutoCreateCarrierFlag":{"type":"boolean"},"AutoCreateCustomer":{"type":"boolean"},"AutoPaymentTotalAmount":{"type":"number","nullable":true},"AutoProcessPayment":{"type":"boolean"},"AutoProcessPaymentId":{"type":"number","nullable":true},"AutoProcessPaymentName":{"type":"string","nullable":true},"BOLNumber":{"type":"string"},"BatchUploadFlag":{"type":"boolean"},"BillToAddr":{"type":"string"},"BillToAddr2":{"type":"string"},"BillToAddrHashCode":{"type":"number"},"BillToAddrName":{"type":"string"},"BillToCity":{"type":"string"},"BillToCompanyName":{"type":"string"},"BillToCountry":{"type":"string"},"BillToCountryISO2":{"type":"string","nullable":true},"BillToEmail":{"type":"string"},"BillToFirstName":{"type":"string"},"BillToLastName":{"type":"string"},"BillToName":{"type":"string"},"BillToPhoneNumber":{"type":"string"},"BillToState":{"type":"string"},"BillToStateAbbr":{"type":"string","nullable":true},"BillToStateName":{"type":"string","nullable":true},"BillToZpCode":{"type":"string"},"BrandId":{"type":"number","nullable":true},"BrandName":{"type":"string","nullable":true},"BuyerId":{"type":"number","nullable":true},"BuyerName":{"type":"string","nullable":true},"CardLast4Digit":{"type":"string","nullable":true},"CarrierCode":{"type":"string"},"CarrierId":{"type":"number"},"CarrierName":{"type":"string"},"ChequeNo":{"type":"string","nullable":true},"ContactEmail":{"type":"string","nullable":true},"ContactFirstName":{"type":"string","nullable":true},"ContactId":{"type":"number"},"ContactLastName":{"type":"string","nullable":true},"ContactPhoneNumber":{"type":"number","nullable":true},"ContactTitle":{"type":"string","nullable":true},"ContainerRefNumber":{"type":"string"},"Contract3plId":{"type":"number"},"CounterNumber":{"type":"string"},"CreateDttm":{"type":"string"},"CreateSource":{"type":"string"},"CreditApplied":{"type":"number"},"CurrencyCode":{"type":"string"},"CurrencyId":{"type":"number"},"CurrencyName":{"type":"string"},"CurrencySymbol":{"type":"string","nullable":true},"CustomFieldH1":{"type":"string","nullable":true},"CustomFieldH10":{"type":"string","nullable":true},"CustomFieldH11":{"type":"string","nullable":true},"CustomFieldH12":{"type":"string","nullable":true},"CustomFieldH13":{"type":"string","nullable":true},"CustomFieldH14":{"type":"string","nullable":true},"CustomFieldH15":{"type":"string","nullable":true},"CustomFieldH16":{"type":"string","nullable":true},"CustomFieldH17":{"type":"string","nullable":true},"CustomFieldH18":{"type":"string","nullable":true},"CustomFieldH19":{"type":"string","nullable":true},"CustomFieldH2":{"type":"string","nullable":true},"CustomFieldH20":{"type":"string","nullable":true},"CustomFieldH21":{"type":"string","nullable":true},"CustomFieldH22":{"type":"string","nullable":true},"CustomFieldH23":{"type":"string","nullable":true},"CustomFieldH24":{"type":"string","nullable":true},"CustomFieldH25":{"type":"string","nullable":true},"CustomFieldH26":{"type":"string","nullable":true},"CustomFieldH27":{"type":"string","nullable":true},"CustomFieldH28":{"type":"string","nullable":true},"CustomFieldH29":{"type":"string","nullable":true},"CustomFieldH3":{"type":"string","nullable":true},"CustomFieldH30":{"type":"string","nullable":true},"CustomFieldH31":{"type":"string","nullable":true},"CustomFieldH32":{"type":"string","nullable":true},"CustomFieldH33":{"type":"string","nullable":true},"CustomFieldH34":{"type":"string","nullable":true},"CustomFieldH35":{"type":"string","nullable":true},"CustomFieldH36":{"type":"string","nullable":true},"CustomFieldH37":{"type":"string","nullable":true},"CustomFieldH38":{"type":"string","nullable":true},"CustomFieldH39":{"type":"string","nullable":true},"CustomFieldH4":{"type":"string","nullable":true},"CustomFieldH40":{"type":"string","nullable":true},"CustomFieldH41":{"type":"string","nullable":true},"CustomFieldH42":{"type":"string","nullable":true},"CustomFieldH43":{"type":"string","nullable":true},"CustomFieldH44":{"type":"string","nullable":true},"CustomFieldH45":{"type":"string","nullable":true},"CustomFieldH46":{"type":"string","nullable":true},"CustomFieldH47":{"type":"string","nullable":true},"CustomFieldH48":{"type":"string","nullable":true},"CustomFieldH49":{"type":"string","nullable":true},"CustomFieldH5":{"type":"string","nullable":true},"CustomFieldH50":{"type":"string","nullable":true},"CustomFieldH6":{"type":"string","nullable":true},"CustomFieldH7":{"type":"string","nullable":true},"CustomFieldH8":{"type":"string","nullable":true},"CustomFieldH9":{"type":"string","nullable":true},"CustomerAccountNumber":{"type":"number","nullable":true},"CustomerBillingMethodName":{"type":"string","nullable":true},"CustomerDefaultBillingEmail":{"type":"string","nullable":true},"CustomerDefaultShipmentEmail":{"type":"string","nullable":true},"CustomerEmailCC":{"type":"string","nullable":true},"CustomerEmailMain":{"type":"string"},"CustomerFirstName":{"type":"string","nullable":true},"CustomerFullName":{"type":"string","nullable":true},"CustomerGroupId":{"type":"number","nullable":true},"CustomerGroupName":{"type":"string","nullable":true},"CustomerId":{"type":"number"},"CustomerIdentifierCode":{"type":"number"},"CustomerLastName":{"type":"string","nullable":true},"CustomerMainPhone":{"type":"string","nullable":true},"CustomerMessage":{"type":"string"},"CustomerName":{"type":"string"},"CustomerPO":{"type":"string"},"CustomerParentId":{"type":"number","nullable":true},"CustomerParentName":{"type":"string","nullable":true},"CustomerServiceRepEmail":{"type":"string","nullable":true},"CustomerServiceRepFullName":{"type":"string","nullable":true},"CustomerServiceRepId":{"type":"string"},"CustomerTags":{"type":"string","nullable":true},"CustomerTaxCodeId":{"type":"number"},"CustomerTypeId3PL":{"type":"number"},"CustomerTypeName":{"type":"string","nullable":true},"DateOrder":{"type":"string","nullable":true},"DateToBeShipped":{"type":"string","nullable":true},"DefaultAccountReceivableName":{"type":"string","nullable":true},"DefaultBillingMethodTypeId":{"type":"number","nullable":true},"DepositApplied":{"type":"number"},"DiscountAccntId":{"type":"number","nullable":true},"DiscountAccntName":{"type":"string","nullable":true},"DiscountAmount":{"type":"number"},"DiscountApplied":{"type":"number"},"DiscountDate":{"type":"string"},"DiscountDays":{"type":"string","nullable":true},"DiscountPercentage":{"type":"string","nullable":true},"DiscountToUse":{"type":"number"},"DiscountableAmount":{"type":"number"},"DocumentUrl":{"type":"string","nullable":true},"DueDate":{"type":"string"},"DueDays":{"type":"string","nullable":true},"DueReminderDays":{"type":"string","nullable":true},"DueReminderEmailDate":{"type":"string","nullable":true},"DueReminderEmailSentDttm":{"type":"string","nullable":true},"EdiDocRespMessage":{"type":"string","nullable":true},"EdiDocStatus":{"type":"string","nullable":true},"EmailedFlag":{"type":"boolean"},"EntityUseCode":{"type":"string","nullable":true},"ErrorOnTaxMismatch":{"type":"boolean"},"ExchangeRate":{"type":"number"},"ExchangeRateFormula":{"type":"string","nullable":true},"FobId":{"type":"number"},"FobName":{"type":"string"},"FullPaymentDate":{"type":"string","nullable":true},"HashCodeJson":{"type":"boolean","nullable":true},"Id":{"type":"number"},"ImportAsSingleCustomer":{"type":"boolean"},"ImportError":{"type":"string","nullable":true},"IntAccntId":{"type":"number","nullable":true},"InvalidAddressFlag":{"type":"boolean"},"InvoiceBatchId":{"type":"number","nullable":true},"InvoiceBatchNumber":{"type":"number","nullable":true},"InvoiceNumber":{"type":"string"},"Is3plBillingInvoice":{"type":"boolean"},"IsBatchCreatedFromThirdParty":{"type":"boolean"},"IsCardOnFile":{"type":"boolean","nullable":true},"IsContactOrderProcessingEmailFlag":{"type":"boolean"},"IsContactPaymentEmailFlag":{"type":"boolean"},"IsContactReminderEmailFlag":{"type":"boolean"},"IsContactShipmentEmailFlag":{"type":"boolean"},"IsEdiFlag":{"type":"boolean"},"IsFirstInvoice":{"type":"boolean"},"IsProcessed":{"type":"boolean"},"IsShippingBillCreated":{"type":"boolean"},"ItemIncomeAccountId":{"type":"number","nullable":true},"ItemIncomeAccountName":{"type":"string","nullable":true},"JobScheduleReRunFlag":{"type":"boolean"},"JobScheduleRunFlag":{"type":"boolean"},"LadingQty":{"type":"number","nullable":true},"LastEmailDttm":{"type":"string","nullable":true},"LastInvoicePaymentId":{"type":"number","nullable":true},"LastInvoicePaymentNumber":{"type":"number","nullable":true},"LastOverdueEmailDttm":{"type":"string","nullable":true},"LastOverdueEmailSentDttm":{"type":"string","nullable":true},"LastPaymentEmailSentDttm":{"type":"string","nullable":true},"LastPaymentEmailSentSource":{"type":"string","nullable":true},"LinkedShippingBillId":{"type":"number","nullable":true},"MarkAsShipped":{"type":"boolean"},"MasterBOLNumber":{"type":"string"},"MasterTrackingNumber":{"type":"string"},"MatchedFlag":{"type":"boolean"},"MaxDiscountAllowed":{"type":"number"},"Memo":{"type":"string"},"ModifyDttm":{"type":"string","nullable":true},"ModifySource":{"type":"string","nullable":true},"NoTaxCompareFlag":{"type":"boolean"},"NoTaxServiceRequestFlag":{"type":"boolean"},"OldTxnDate":{"type":"string"},"OpeningBalanceFlag":{"type":"boolean"},"OrderProcessingEmail":{"type":"string","nullable":true},"OrderRefNo":{"type":"string","nullable":true},"OrderType":{"type":"string","nullable":true},"OrderTypeCode":{"type":"string","nullable":true},"OrderTypeId":{"type":"number"},"OrderTypeName":{"type":"string","nullable":true},"PackingSlipNumber":{"type":"number","nullable":true},"PaymentAmount":{"type":"number"},"PaymentEmail":{"type":"string","nullable":true},"PaymentEmailSentCount":{"type":"number"},"PaymentEmailSentFlag":{"type":"boolean"},"PaymentLinkCount":{"type":"number"},"PaymentMethodName":{"type":"string","nullable":true},"PaymentMethodTypeId":{"type":"number","nullable":true},"PaymentMethodTypeName":{"type":"string","nullable":true},"PaymentRefNo":{"type":"string","nullable":true},"PaymentRefNo2":{"type":"string","nullable":true},"PaymentTermsId":{"type":"number"},"PaymentTermsName":{"type":"string"},"PermissionGroupId":{"type":"number","nullable":true},"PortalAccountNumber":{"type":"number","nullable":true},"ProcessedDttm":{"type":"string","nullable":true},"ProcessedSource":{"type":"string","nullable":true},"ProjectClassId":{"type":"number","nullable":true},"ProjectClassName":{"type":"string","nullable":true},"ReCalcShippingTaxesFlag":{"type":"boolean"},"ReCalcTaxesFlag":{"type":"boolean"},"ReceiptNumber":{"type":"number","nullable":true},"RefId":{"type":"number","nullable":true},"RefNo":{"type":"string"},"ReminderEmail":{"type":"string","nullable":true},"ReportDataObj":{"properties":{"EntityAccntId":{"type":"string"},"EntityName":{"type":"string"},"EntityObj":{"type":"object","additionalProperties":true,"nullable":true},"ReportEntityId":{"type":"number"},"TxnRefId":{"type":"number"},"TxnRefNumber":{"type":"string"},"TxnTypeId":{"type":"number"},"linkedTxnRefId":{"type":"number","nullable":true}},"type":"object"},"ReportingDataText":{"type":"string"},"RestrictDueInvoiceEmailFlag":{"type":"boolean"},"RestrictNewCustomerForSameEmail":{"type":"boolean"},"RestrictOverdueInvoiceEmailFlag":{"type":"boolean"},"RiskAnalysis":{"type":"string","nullable":true},"SaleStoreAddr":{"type":"string","nullable":true},"SaleStoreAddr2":{"type":"string","nullable":true},"SaleStoreAddrName":{"type":"string","nullable":true},"SaleStoreCity":{"type":"string","nullable":true},"SaleStoreCode":{"type":"string","nullable":true},"SaleStoreCompanyName":{"type":"string","nullable":true},"SaleStoreCountry":{"type":"string","nullable":true},"SaleStoreCountryISO2":{"type":"string","nullable":true},"SaleStoreEmail":{"type":"string","nullable":true},"SaleStoreFirstName":{"type":"string","nullable":true},"SaleStoreId":{"type":"number"},"SaleStoreLastName":{"type":"string","nullable":true},"SaleStoreName":{"type":"string"},"SaleStorePhoneNumber":{"type":"number","nullable":true},"SaleStoreState":{"type":"string","nullable":true},"SaleStoreStateAbbr":{"type":"string","nullable":true},"SaleStoreZpCode":{"type":"string","nullable":true},"SalesRepEmail":{"type":"string","nullable":true},"SalesRepFullName":{"type":"string","nullable":true},"SalesRepGroups":{"type":"string","nullable":true},"SalesRepId":{"type":"string"},"ShipConfirmationEmailSent":{"type":"boolean"},"ShipConfirmationEmailSentDttm":{"type":"string","nullable":true},"ShipDate":{"type":"string"},"ShipFromAddr":{"type":"string"},"ShipFromAddr2":{"type":"string"},"ShipFromAddrName":{"type":"string"},"ShipFromCity":{"type":"string"},"ShipFromCompanyName":{"type":"string","nullable":true},"ShipFromCountry":{"type":"string"},"ShipFromCountryISO2":{"type":"string","nullable":true},"ShipFromEmail":{"type":"string","nullable":true},"ShipFromFirstName":{"type":"string","nullable":true},"ShipFromLastName":{"type":"string","nullable":true},"ShipFromName":{"type":"string"},"ShipFromPhoneNumber":{"type":"number","nullable":true},"ShipFromState":{"type":"string"},"ShipFromStateAbbr":{"type":"string","nullable":true},"ShipFromZpCode":{"type":"string"},"ShipMethodId":{"type":"number"},"ShipMethodName":{"type":"string"},"ShipServiceCode":{"type":"string","nullable":true},"ShipServiceId":{"type":"number"},"ShipServiceName":{"type":"string"},"ShipToAddr":{"type":"string"},"ShipToAddr2":{"type":"string"},"ShipToAddrHashCode":{"type":"number"},"ShipToAddrName":{"type":"string"},"ShipToCity":{"type":"string"},"ShipToCompanyName":{"type":"string"},"ShipToCountry":{"type":"string"},"ShipToCountryISO2":{"type":"string","nullable":true},"ShipToEmail":{"type":"string"},"ShipToFirstName":{"type":"string"},"ShipToLastName":{"type":"string"},"ShipToName":{"type":"string"},"ShipToPhoneNumber":{"type":"string"},"ShipToState":{"type":"string"},"ShipToStateAbbr":{"type":"string","nullable":true},"ShipToStateName":{"type":"string","nullable":true},"ShipToZpCode":{"type":"string"},"ShipmentEmail":{"type":"string","nullable":true},"ShipmentId":{"type":"number"},"ShipmentRefNumber":{"type":"string"},"ShippedBy":{"type":"string"},"ShippingAccountNumber":{"type":"string"},"ShippingAmount":{"type":"number"},"ShippingCost":{"type":"number"},"ShippingCostCarrier":{"type":"number"},"ShippingCostCredited":{"type":"string","nullable":true},"ShippingExpenseAccntId":{"type":"string"},"ShippingExpenseAccntName":{"type":"string","nullable":true},"ShippingNotes":{"type":"string"},"ShippingTaxCodeId":{"type":"number","nullable":true},"ShippingTaxCodeName":{"type":"string","nullable":true},"ShippingTaxData":{"properties":{"taxItems":{"items":{},"type":"array"},"totalAmount":{"type":"number"}},"type":"object"},"ShippingTaxDataSerialized":{"type":"string"},"ShippingTaxItems":{"type":"string","nullable":true},"ShippingTermsId":{"type":"number"},"ShippingTermsName":{"type":"string"},"ShippingTypeId":{"type":"number"},"ShippingTypeName":{"type":"string","nullable":true},"SoId":{"type":"number"},"SoNumber":{"type":"string"},"SoRefNumber":{"type":"string"},"SoSubTypeId":{"type":"number","nullable":true},"SoToInvoice":{"type":"boolean"},"Sscc":{"type":"string","nullable":true},"StatusId":{"type":"number"},"StatusName":{"type":"string","nullable":true},"StoreCode":{"type":"string","nullable":true},"StoreId":{"type":"number"},"StoreName":{"type":"string"},"SubTotal":{"type":"number"},"SubTotalExclDiscount":{"type":"number"},"SysLockFlag":{"type":"boolean"},"Tags":{"type":"string"},"TaxCalcByAddress":{"type":"boolean"},"TaxCalcByAddressDisable":{"type":"boolean"},"TaxCalcCode":{"type":"string","nullable":true},"TaxCalcType":{"type":"string","nullable":true},"TaxOperationCountryCode":{"type":"string","nullable":true},"TaxServiceHashCode":{"type":"number"},"TaxServiceHashCodeOld":{"type":"number"},"TaxServiceRefNumber":{"type":"number","nullable":true},"TaxSummaryDataText":{"type":"string"},"ThirdPartyCompanyId":{"type":"number","nullable":true},"ThirdPartyCustomerId":{"type":"number","nullable":true},"ThirdPartyDefaultSKU":{"type":"string","nullable":true},"ThirdPartyDisplayName":{"type":"string"},"ThirdPartyIconUrl":{"type":"string"},"ThirdPartyInvoiceAlreadyExists":{"type":"boolean"},"ThirdPartyNotes":{"type":"string"},"ThirdPartyOrderDttm":{"type":"string","nullable":true},"ThirdPartyPennyRoundingSKU":{"type":"string","nullable":true},"ThirdPartyRefName":{"type":"string","nullable":true},"ThirdPartyRefNo":{"type":"string"},"ThirdPartyShipmentMetadata":{"type":"string","nullable":true},"ThirdPartySource":{"type":"string"},"ThirdPartyTotalAmount":{"type":"number","nullable":true},"ThirdPartyTotalTaxAmount":{"type":"number","nullable":true},"TotalAmount":{"type":"number"},"TotalPaidAmount":{"type":"number"},"TotalQty":{"type":"number"},"TotalTaxAmount":{"type":"number"},"TotalVasItemsCost":{"type":"number"},"TrackingNumbers":{"type":"string"},"TxnDate":{"type":"string"},"TxnId":{"type":"string"},"TxnNumber":{"type":"number"},"TxnTypeId":{"type":"number","nullable":true},"TypeId":{"type":"number"},"UnPostTranFlag":{"type":"boolean"},"UpdateEnable":{"type":"boolean"},"UseDefaultSKUWhenError":{"type":"boolean"},"UseThirdPartyPennyRoundingSKU":{"type":"boolean"},"VASTotal":{"type":"number"},"WaveNumbers":{"type":"string","nullable":true},"Weight":{"type":"string","nullable":true},"WeightUomCode":{"type":"string","nullable":true},"WeightUomName":{"type":"string","nullable":true},"searchField":{"type":"string","nullable":true}},"type":"object"},"invoiceItemLineArr":{"items":{"properties":{"Account3plName":{"type":"string","nullable":true},"AllowedSellUOMList":{"type":"boolean","nullable":true},"AuthorizationDetailList":{"type":"array","items":{"type":"object","additionalProperties":true},"nullable":true},"BaseQtyOrdered":{"type":"number"},"BaseQtyRemainingToShip":{"type":"string","nullable":true},"BaseQtyShipped":{"type":"string","nullable":true},"BaseUomCode":{"type":"string","nullable":true},"BaseUomId":{"type":"number"},"BaseUomName":{"type":"string"},"ChargeCode":{"type":"string","nullable":true},"ConractLineTypeId":{"type":"number"},"ContractLineId":{"type":"number"},"CreateDttm":{"type":"string"},"CreateSource":{"type":"string"},"CreditQty":{"type":"number","nullable":true},"CustomFieldD1":{"type":"string"},"CustomFieldD10":{"type":"string"},"CustomFieldD11":{"type":"string"},"CustomFieldD12":{"type":"string"},"CustomFieldD13":{"type":"string"},"CustomFieldD14":{"type":"string"},"CustomFieldD15":{"type":"string"},"CustomFieldD16":{"type":"string"},"CustomFieldD17":{"type":"string"},"CustomFieldD18":{"type":"string"},"CustomFieldD19":{"type":"string"},"CustomFieldD2":{"type":"string"},"CustomFieldD20":{"type":"string"},"CustomFieldD21":{"type":"string"},"CustomFieldD22":{"type":"string"},"CustomFieldD23":{"type":"string"},"CustomFieldD24":{"type":"string"},"CustomFieldD25":{"type":"string"},"CustomFieldD26":{"type":"string"},"CustomFieldD27":{"type":"string"},"CustomFieldD28":{"type":"string"},"CustomFieldD29":{"type":"string"},"CustomFieldD3":{"type":"string"},"CustomFieldD30":{"type":"string"},"CustomFieldD31":{"type":"string"},"CustomFieldD32":{"type":"string"},"CustomFieldD33":{"type":"string"},"CustomFieldD34":{"type":"string"},"CustomFieldD35":{"type":"string"},"CustomFieldD36":{"type":"string"},"CustomFieldD37":{"type":"string"},"CustomFieldD38":{"type":"string"},"CustomFieldD39":{"type":"string"},"CustomFieldD4":{"type":"string"},"CustomFieldD40":{"type":"string"},"CustomFieldD41":{"type":"string"},"CustomFieldD42":{"type":"string"},"CustomFieldD43":{"type":"string"},"CustomFieldD44":{"type":"string"},"CustomFieldD45":{"type":"string"},"CustomFieldD46":{"type":"string"},"CustomFieldD47":{"type":"string"},"CustomFieldD48":{"type":"string"},"CustomFieldD49":{"type":"string"},"CustomFieldD5":{"type":"string"},"CustomFieldD50":{"type":"string"},"CustomFieldD6":{"type":"string"},"CustomFieldD7":{"type":"string"},"CustomFieldD8":{"type":"string"},"CustomFieldD9":{"type":"string"},"CustomerItemNumber":{"type":"string"},"DefaultSellUomId":{"type":"number"},"DeleteFlag":{"type":"boolean"},"Description":{"type":"string"},"Discount":{"type":"number"},"DiscountPerQty":{"type":"number"},"DiscountPercentage":{"type":"number"},"DiscountTypeId":{"type":"number"},"DiscountTypeName":{"type":"string","nullable":true},"EdiStatusId":{"type":"number"},"EditState":{"type":"boolean"},"EffectiveUnitPrice":{"type":"number"},"ExternalItemNumber":{"type":"string"},"ForceSalesTaxCode":{"type":"boolean"},"GLCodeName":{"type":"string","nullable":true},"HSCode":{"type":"string","nullable":true},"HasRestriction":{"type":"boolean"},"Id":{"type":"number"},"InventoryLocChangeList":{"type":"array","items":{"type":"object","additionalProperties":true},"nullable":true},"InvoiceId":{"type":"number"},"Is3plInvoiceLine":{"type":"boolean"},"IsBomItemFlag":{"type":"boolean"},"IsDropshipFlag":{"type":"boolean"},"IsProducibleFlag":{"type":"boolean"},"IsTaxableFlag":{"type":"boolean"},"IsoCode2":{"type":"string"},"IsoCountryName":{"type":"string"},"ItemAppLinkingWrapper":{"properties":{"ItemAppLinkingArr":{"items":{"properties":{"CreateDttm":{"type":"string"},"CreateSource":{"type":"string"},"Id":{"type":"number"},"ItemId":{"type":"number"},"ItemNumber":{"type":"string"},"LinkedAppAccountId":{"type":"string"},"LinkedAppItemRefId":{"type":"string"},"LinkedAppName":{"type":"string"},"ModifyDttm":{"type":"string","nullable":true},"ModifySource":{"type":"string"}},"type":"object"},"type":"array"},"ItemId":{"type":"number"},"ItemNumber":{"type":"string"},"ItemTags":{"type":"string","nullable":true}},"type":"object"},"ItemCategoryName":{"type":"string","nullable":true},"ItemForceSalesTaxCodeId":{"type":"number","nullable":true},"ItemForceSalesTaxCodeName":{"type":"string","nullable":true},"ItemId":{"type":"number"},"ItemIncomeAccountId":{"type":"number","nullable":true},"ItemIncomeAccountName":{"type":"string","nullable":true},"ItemNumber":{"type":"string"},"ItemSalesTaxProvinceMapList":{"type":"array","items":{"type":"object","additionalProperties":true},"nullable":true},"ItemSubCategoryName":{"type":"string","nullable":true},"ItemTypeId":{"type":"number"},"ItemTypeName":{"type":"string"},"ItemUpc":{"type":"string"},"LineNumber":{"type":"number"},"LineTaxCalcCode":{"type":"string","nullable":true},"MatchFlag":{"type":"boolean"},"ModifyDttm":{"type":"string","nullable":true},"ModifySource":{"type":"string","nullable":true},"Notes":{"type":"string","nullable":true},"OldBaseQtyShipped":{"type":"string","nullable":true},"OldQty":{"type":"number","nullable":true},"OldSellUomId":{"type":"number","nullable":true},"OldUomFactor":{"type":"string","nullable":true},"ProjectClassId":{"type":"number"},"ProjectClassName":{"type":"string","nullable":true},"Qty":{"type":"number"},"QtyDecimalFlag":{"type":"boolean"},"QtyRemainingToCredit":{"type":"number"},"ReceiptId":{"type":"number","nullable":true},"ReceiptLineId":{"type":"number","nullable":true},"ReceiptNumber":{"type":"number","nullable":true},"ReceiptQty":{"type":"number","nullable":true},"RefId":{"type":"number","nullable":true},"RestrictionOverrideFlag":{"type":"boolean"},"RestrictionOverridePrice":{"type":"number","nullable":true},"RestrictionOverrideUser":{"type":"string","nullable":true},"SellPkgQty":{"type":"number","nullable":true},"SellUomCode":{"type":"string"},"SellUomId":{"type":"number"},"SellUomName":{"type":"string"},"SoId":{"type":"number"},"SoLineId":{"type":"number"},"SoNumber":{"type":"string"},"StatusId":{"type":"number","nullable":true},"TaxAmount":{"type":"number","nullable":true},"TaxCategoryCode":{"type":"string"},"TaxCodeId":{"type":"number","nullable":true},"TaxCodeName":{"type":"string"},"TaxData":{"properties":{"taxItems":{"items":{},"type":"array"},"totalAmount":{"type":"number"}},"type":"object"},"TaxDataJson":{"type":"string"},"TaxItems":{"type":"string","nullable":true},"TaxStateMappingProfileId":{"type":"number","nullable":true},"ThirdPartyRefNo":{"type":"string"},"ThirdPartyRefNo2":{"type":"string","nullable":true},"ThirdPartySource":{"type":"string","nullable":true},"Title":{"type":"string","nullable":true},"TotalAmount":{"type":"number"},"TrackingBySerialNumberFlag":{"type":"boolean"},"TxnId":{"type":"string"},"TxnNumber":{"type":"number"},"TxnTypeId":{"type":"number","nullable":true},"UnitPrice":{"type":"number"},"UomFactor":{"type":"number"},"VASDiscountableFlag":{"type":"boolean"},"VASItemCost":{"type":"number","nullable":true},"VASItemCostTotal":{"type":"number","nullable":true},"VASItemId":{"type":"number","nullable":true},"VASItemName":{"type":"string","nullable":true},"VASTaxableFlag":{"type":"boolean"}},"type":"object"},"type":"array"},"invoiceItemSerialNumberArr":{"type":"array","items":{"type":"object","additionalProperties":true},"nullable":true},"shipCartonArr":{"type":"array","items":{"type":"object","additionalProperties":true},"nullable":true}},"type":"object"},"type":"array"}},"type":"object"},"IsForwardRequest":{"type":"boolean"},"Message":{"type":"string"},"MessageTitle":{"type":"string","nullable":true},"Result":{"type":"boolean"}},"type":"object"}}},"description":"OK","headers":{}}},"tags":["Purchase Order Management"],"description":"This API is used to confirm and close a dropship order using the related Purchase Order number. It allows you to post tracking and shipping details, freight, and invoice information for each order line that was dropshipped.\n\nField               |Data Type          |Default Value          |Description\n-------------------|-------------------|-------------------|--------------\n``PurchaseOrderNumber``|string|NA|The PO number associated with the dropship order.\n``PackingSlipNumber``|string|NA|Packing slip number from the vendor.\n``TrackingNumber``|string|NA|Carrier-provided tracking number.\n``CarrierName``|string|NA|Name of the shipping carrier (e.g., UPS, FedEx).\n``ShipServiceName``|string|NA|Shipping service used (e.g., USPS Priority Mail).\n``Freight``|decimal|0|Shipping cost charged for the dropship.\n``ShipDate``|string|NA|Date of shipment.\n``InvoiceDate``|string|NA|Date of invoice issued.\n``OrderLines``|array|[]|Array containing line-level dropship confirmation details.\n``Id``|integer|NA|Unique identifier for the Sales Order line.\n``DropshipQty``|decimal|0|Quantity of the item that was dropshipped.","operationId":"post_purchaseorder_dropshiporderbypo","requestBody":{"content":{"application/json":{"schema":{"properties":{"Orders":{"items":{"properties":{"CarrierName":{"type":"string"},"Freight":{"type":"number"},"InvoiceDate":{"type":"string"},"OrderLines":{"items":{"properties":{"DropshipQty":{"type":"number"},"Id":{"type":"number"}},"type":"object"},"type":"array"},"PackingSlipNumber":{"type":"string"},"PurchaseOrderNumber":{"type":"string"},"ShipDate":{"type":"string"},"ShipServiceName":{"type":"string"},"TrackingNumber":{"type":"string"}},"type":"object"},"type":"array"}},"type":"object"}}}},"summary":"Process Dropship Order by Purchase Order"}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.xorosoft.com/developers-api/purchase-order-management/process-dropship-order-by-purchase-order.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
