Updates the commerce shipment item in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

@param commerceShipmentItem the commerce shipment item
@return the commerce shipment item that was updated
434664
public static com.liferay.commerce.model.CommerceShipmentItem updateCommerceShipmentItem(
		com.liferay.commerce.model.CommerceShipmentItem commerceShipmentItem) {
		return getService().updateCommerceShipmentItem(commerceShipmentItem);
	}
424576
public static com.liferay.commerce.model.CommerceShipment updateCommerceShipment(
		com.liferay.commerce.model.CommerceShipment commerceShipment) {
		return getService().updateCommerceShipment(commerceShipment);
	}
844891
@Override
	public com.liferay.commerce.discount.model.CommerceDiscountRel updateCommerceDiscountRel(
		com.liferay.commerce.discount.model.CommerceDiscountRel commerceDiscountRel) {
		return _commerceDiscountRelLocalService.updateCommerceDiscountRel(commerceDiscountRel);
	}
1121807
public static com.liferay.commerce.model.CommerceShipmentItem deleteCommerceShipmentItem(
		com.liferay.commerce.model.CommerceShipmentItem commerceShipmentItem) {
		return getService().deleteCommerceShipmentItem(commerceShipmentItem);
	}
1090007
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommerceShipment deleteCommerceShipment(
		CommerceShipment commerceShipment) {
		return commerceShipmentPersistence.remove(commerceShipment);
	}
221515
public static com.liferay.commerce.discount.model.CommerceDiscount updateCommerceDiscount(
		com.liferay.commerce.discount.model.CommerceDiscount commerceDiscount) {
		return getService().updateCommerceDiscount(commerceDiscount);
	}
909007
public static com.liferay.commerce.model.CommerceOrderItem updateCommerceOrderItem(
		com.liferay.commerce.model.CommerceOrderItem commerceOrderItem) {
		return getService().updateCommerceOrderItem(commerceOrderItem);
	}
14967
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceOrderItem updateCommerceOrderItem(
		CommerceOrderItem commerceOrderItem) {
		return commerceOrderItemPersistence.update(commerceOrderItem);
	}
1282253
public static com.liferay.commerce.model.CommerceShippingMethod createCommerceShippingMethod(
		long commerceShippingMethodId) {
		return getService()
				   .createCommerceShippingMethod(commerceShippingMethodId);
	}
600573
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceWishListItem updateCommerceWishListItem(
		CommerceWishListItem commerceWishListItem) {
		return commerceWishListItemPersistence.update(commerceWishListItem);
	}
1219625
public static com.liferay.commerce.model.CommerceShipmentItem addCommerceShipmentItem(
		com.liferay.commerce.model.CommerceShipmentItem commerceShipmentItem) {
		return getService().addCommerceShipmentItem(commerceShipmentItem);
	}
341906
public static com.liferay.commerce.model.CommerceWarehouseItem addCommerceWarehouseItem(
		com.liferay.commerce.model.CommerceWarehouseItem commerceWarehouseItem) {
		return getService().addCommerceWarehouseItem(commerceWarehouseItem);
	}
76459
@Override
	public com.liferay.commerce.model.CommerceCountry updateCommerceCountry(
		com.liferay.commerce.model.CommerceCountry commerceCountry) {
		return _commerceCountryLocalService.updateCommerceCountry(commerceCountry);
	}
834005
@Override
	public void clearCache(CommerceShipmentItem commerceShipmentItem) {
		entityCache.removeResult(CommerceShipmentItemModelImpl.ENTITY_CACHE_ENABLED,
			CommerceShipmentItemImpl.class, commerceShipmentItem.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
605633
@Override
	public void removeByCommerceShipment(long commerceShipmentId) {
		for (CommerceShipmentItem commerceShipmentItem : findByCommerceShipment(
				commerceShipmentId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(commerceShipmentItem);
		}
	}
735462
@Override
	@Transactional(enabled = false)
	public CommerceShipment createCommerceShipment(long commerceShipmentId) {
		return commerceShipmentPersistence.create(commerceShipmentId);
	}
127496
def update_shipment(self, resource_id, data):
        """"""
        return Shipments(self.client).on(self).update(resource_id, data)