Update or edit existing pictickets
End Point
'CreateOrUpdate' API end point is used to update/edit existing pick tickets.
POST
https://{tenant_name}.p4warehouse.com/api/PickTicketApi/CreateOrUpdate
Headers
Name
Type
Description
ApiKey*
String
System API key
Request Body
Name
Type
Description
"Id"*
String
Pickticket Id assigned by the system
{
"$id": "1",
"PickTicketNumber": "PCK-0000148",
"FreightTypeEnum": 1,
"FreightType": "SmallParcel",
"DockDoorId": null,
"DockDoor": null,
"PickTicketStateEnum": 0,
"PickTicketState": "Draft",
"CustomerId": "4cc9ebc2-4e8a-49a8-8f84-c9b191a01e97",
"Customer": {
"$id": "2",
"CustomerCode": "ECOM",
"ClientId": "91c64445-04d0-41da-a9ce-f05c0db7d4d4",
"Client": null,
"CompanyName": "e-comm",
"ContactPerson": null,
"Email": null,
"Phone": null,
"TaxId": null,
"BillToName": null,
"BillToPhone": null,
"BillToAddress1": null,
"BillToAddress2": null,
"BillToCity": null,
"BillToStateProvince": null,
"BillToZipPostal": null,
"BillToCountry": null,
"DefaultCountOnShip": null,
"DefaultSignOnShip": null,
"DefaultCountOnDelivery": null,
"DefaultSignOnDelivery": null,
"TruckLoadConsolidationGroup": null,
"Description": "DemoCustomer02",
"Logo": null,
"PackslipDisclaimer": null,
"ProformaInvoiceDisclaimer": null,
"ReturnsDisclaimer": null,
"IsGeneratePickTicketBackOrder": null,
"IsPrintPackslipOnShip": null,
"IsPrintTruckLoadOnSign": null,
"OutboundProductExpiryAllowance": null,
"InboundProductExpiryAllowance": null,
"Addresses": [],
"PickTickets": [
{
"$ref": "1"
}
],
"CustomerReturns": [],
"CartonizationProfileId": null,
"CartonizationProfile": null,
"Info1": null,
"Info2": null,
"Info3": null,
"Info4": null,
"Info5": null,
"Info6": null,
"Info7": null,
"Info8": null,
"Info9": null,
"Info10": null,
"Id": "4cc9ebc2-4e8a-49a8-8f84-c9b191a01e97",
"DateCreated": "2022-06-10T15:39:00.5352572+00:00",
"TypeName": "Pro4Soft.TenantData.Entities.Business.Fulfillment.Customer",
"TypeNameShort": "Customer"
},
"PoNumber": null,
"IsWarehouseTransfer": false,
"ToWarehouseId": null,
"ToWarehouse": null,
"WarehouseTransferPurchaseOrders": null,
"ParentBackOrderId": null,
"ParentBackOrder": null,
"BackOrders": null,
"CountOnShip": false,
"SignOnShip": false,
"DriverId": null,
"VehicleId": null,
"SealNumber": null,
"ShipConfirmSignature": null,
"CountOnDelivery": false,
"SignOnDelivery": false,
"DeliveryConfirmSignature": null,
"QuotedTruckLoadShippingCost": null,
"ActualTruckLoadShippingCost": null,
"Carrier": "UPS",
"ShippingService": "GND",
"SmallParcelOptionsObject": {
"$id": "3",
"IsCountOnShip": false,
"IsSignOnShip": false,
"IsCountOnDelivery": false,
"IsSignOnDelivery": false,
"Carrier": null,
"Service": null,
"CarrierScac": null,
"FreightChargeTerms": 0,
"PaymentType": 0,
"CarrierAccountNumber": "",
"InternationTaxId": null,
"IsResidential": false,
"COD": false,
"SaturdayPickup": false,
"SaturdayDelivery": false,
"SignatureRequired": false,
"PrintReturnLabel": false,
"BillToName": null,
"BillToPhone": null,
"BillToAddress1": null,
"BillToAddress2": null,
"BillToCity": null,
"BillToStateProvince": null,
"BillToZipPostalCode": null,
"BillToCountry": null
},
"SmallParcelOptions": "{\"IsCountOnShip\":false,\"IsSignOnShip\":false,\"IsCountOnDelivery\":false,\"IsSignOnDelivery\":false,\"Carrier\":null,\"Service\":null,\"CarrierScac\":null,\"FreightChargeTerms\":\"Empty\",\"PaymentType\":\"Prepay\",\"CarrierAccountNumber\":\"\",\"InternationTaxId\":null,\"IsResidential\":false,\"COD\":false,\"SaturdayPickup\":false,\"SaturdayDelivery\":false,\"SignatureRequired\":false,\"PrintReturnLabel\":false,\"BillToName\":null,\"BillToPhone\":null,\"BillToAddress1\":null,\"BillToAddress2\":null,\"BillToCity\":null,\"BillToStateProvince\":null,\"BillToZipPostalCode\":null,\"BillToCountry\":null}",
"ReferenceNumber": "1234567890",
"Reference1": null,
"Reference2": null,
"Reference3": null,
"ShippingRuleCode": "RL-00004"
```
Available fields
"FreightType": String
"DockDoor": String
"PoNumber": String
"Carrier": String
"ShippingService": String
"ReferenceNumber": String
"Reference1": String
"Reference2": String
"Reference3": String
"ShipVia": String
"ShipToEmail": String
"ShipToAttnTo": String
"ShipToName": String
"ShipToPhone": String
"ShipToAddress1": String
"ShipToAddress2": String
"ShipToCity": String
"ShipToStateProvince": String
"ShipToZipPostal": String
"ShipToCountry": String
"BillToName": String
"BillToPhone": String
"BillToAddress1": String
"BillToAddress2": String
"BillToCity": String
"BillToStateProvince": String
"BillToZipPostal": String
"BillToCountry": String
"AppointmentNumber": Integer
"AppointmentDate": Datetime
"RouteNumber": integer
"Container": null,
"ShipFromName": String
"ShipFromPhone": String
"ShipFromAddress1": String
"ShipFromAddress2": String
"ShipFromCity": String
"ShipFromStateProvince": String
"ShipFromZipPostal": String
"ShipFromCountry": String
"WaveNumber": String,
"Comments": String
"PickingInstructions": String
"CancelDate": Datetime
"RequiredDate": Datetime
"MustArriveDate": Datetime
"UploadDate": Datetime
"UploadedSuceeded": Boolean
"UploadMessage": String