Skip to main content
Purchase Orders

Cancel Goodsin

Cancel a goodsin.

PUT
/v1/purchase_orders/goodsin/{id}/cancel

Scope(s): APP::PURCHASE-ORDERS::MANAGE

idstringrequired

Path parameter: id

Pattern: [1-9][0-9]{0,}

Body

application/json
reasonstringrequired

Reason for cancellation.

Response

200application/json

successful operation

booking_approvedany

Booking approved date.

booking_approved_bynumber

User ID.

booking_requestedany

Booking requested date.

check_in_byany

Check in by date.

checkin_completedany

Date of the end of checkin.

checkin_startedany

Date of the start of checkin.

consignment_qualitiesany

Quality descriptions.

container_shipmentboolean

Is this a container shipment?

container_sizeenum<string>

Size of the container.

Available options: none, half, full
containersany

Received containers.

createdany

Created date.

expected_cartonsnumber

Number of expected cartons.

expected_delivery_dateany

Expected delivery date.

expected_delivery_time_slotenum<string>

Expected delivery time slot.

Available options: am, pm
expected_palletsnumber

Number of expected pallets.

idnumber

ID.

ignore_from_billingboolean

Should the goodsin be ignored from billing?

is_third_partyboolean

Is this a third party goodsin?

itemsany

Received items.

lock_user_idnumber

ID of the locking user.

modifiedany

Last modified date.

portobject

Shipping port.

port_idnumber

ID of the port.

preferred_delivery_dateany

Preferred delivery date.

preferred_delivery_time_slotenum<string>

Preferred delivery time slot.

Available options: am, pm
purchase_order_goodsin_shipping_term_idnumber

Shipping term ID.

putaway_completedany

Date of the end of putaway.

putaway_startedany

Date of the start of putaway.

received_cartonsnumber

Number of received cartons.

received_containerenum<string>

Type of received container.

Available options: 20FT, 40FT, 40FT-HC
received_palletsnumber

Number of received pallets.

receiving_completedany

Date of the end of receving.

receiving_startedany

Date of the start of receving.

returns_damaged_countnumber

The amount returned because of damage.

returns_unidentifiable_countnumber

The amount returned because the items had been unidentifiable.

shipping_companystring

Shipping company.

shipping_methodenum<string>

Shipping method.

Available options: air, sea, road,
sourcestring

Source.

statusenum<string>

Goodsin status.

Available options: awaiting_booking, awaiting_shipping, awaiting_receiving, awaiting_checkin, awaiting_putaway, completed, cancelled, awaiting_collection
third_party_contact_namestring

Third party contact names.

third_party_emailsstring

Third party email addresses.

tracking_numberstring

Tracking number.

transport_costs_lockedany

Date the transport costs have been locked on.

unique_booking_referencestring

Booking reference.