Inventory

Update an inventory piece

put/pieces/{id}

Request

  • Base URL: https://api.stoneproject.app/api/v1/public
  • URL: https://api.stoneproject.app/api/v1/public/pieces/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

titlestring required
descriptionstring nullable
length_cmnumber nullable
width_cmnumber nullable
thickness_cmnumber nullable
stone_type_idstring nullable
material_type_idstring nullable
category_idstring nullable
pricenumber nullable
price_type'fixed' | 'negotiable' | 'on_request' | 'null' nullable
colorstring nullable
finishstring nullable
status'available' | 'reserved' | 'sold' | 'on_hold' | 'damaged' | 'written_off' | 'expired'
is_publicboolean
skustring nullable
lot_numberstring nullable
locationstring nullable
notesstring nullable

Response

OK

successboolean
messagestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.