Inventory

Create an inventory piece

post/pieces

Request

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

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

Created

successboolean
messagestring nullable

Changes

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