# Update Application Purchase Items PUT /partner/v2/shops/:shop_uuid/applications/:application_uuid/purchase/:purchase_uuid/items Update the details of purchase items in the application. If there were previously specified purchase items, they will be removed and replaced with data from the request body. Note, that to add a purchase item, at least one parameter should be passed in the request body. For example, it is possible to create a purchase item with only its serial number indicated. Endpoint: PUT /partner/v2/shops/{shop_uuid}/applications/{application_uuid}/purchase/{purchase_uuid}/items Security: bearerAuth ## Path parameters: - `shop_uuid` (string, required) The unique identifier of the shop. Example: "38571c75-2590-4c81-8252-531613c96363" - `application_uuid` (string, required) The unique identifier of a particular credit application. Example: "471e6282-3384-412b-af7b-646eb8f04391" - `purchase_uuid` (string, required) The unique identifier of a specific purchase within a credit application. Example: 1234 ## Request fields (application/json): - `items` (array) - `items.item_reference` (string) Unique item ID provided by partner, inventory code etc. - `items.type` (string) Item type. Some types require additional information / validations. Options: product, service, vehicle. Example: "product" - `items.description` (string) Textual name of the item. - `items.quantity` (integer) Quantity of items in this row. - `items.amount` (number) Price of item(s) in this row (row sum). - `items.serial_number` (string) Serial number of the purchased item.. - `items.url` (string) Link to the purchased item. - `items.image_url` (string) Link to an image of the purchased item. - `items.vehicle_vin` (string) Vehicle identification number of the purchased vehicle. - `items.vehicle_licence_plate` (string) License plate of the purchased vehicle. - `items.vehicle_make` (string) Brand of the purchased vehicle. - `items.vehicle_model` (string) Model of the purchased vehicle. - `items.vehicle_registration_date` (string) Registration date of the purchased vehicle ## Response 401 fields (application/json): - `message` (string) Unauthorized Example: "unauthorized" ## Response 403 fields (application/json): - `message` (string) Unauthorized access Example: "User is not authorized to access this resource with an explicit deny" ## Response 404 fields (application/json): - `message` (string) Not Found ## Response 500 fields (application/json): - `message` (string) Internal server error Example: "internal_server_error" ## Response 204 fields