Skip to content

patchSizeRange

Request

Path
idinteger, (int32)required
Bodyapplication/jsonrequired
property name*anyadditional property
PATCH
/api/v1/size-range/{id}
curl -i -X PATCH \
  'https://api.prana.software/api/v1/size-range/{id}' \
  -H 'Content-Type: application/json' \
  -d '{
    "property1": null,
    "property2": null
  }'

Responses

OK

Bodyapplication/json
idinteger, (int32)required

Unique identifier of the object

Default:""
codestring, non-emptyrequired

Size range alphanumeric code. Unique per company.

Default:""
Example:"Range 38/43"
descriptionstring, non-emptyrequired

Size range description.

Default:""
Example:"Size range for shoes from size 38 to 43"
sizeRangeDetailsArray of objects(ApiSizeRangeDetailReadDto)

List of size range details.

Default:""
widthsArray of objects(ApiWidthReadDto)

List of widths associated with the size range.

Default:""
inactiveB2bboolean

True if the size range is inactive for B2B.

Default:false
Example:false
specialboolean

True if the size range is special.

Default:false
Example:false
heightnumber

Height measurement.

Default:""
Example:10.5
widthnumber

Width measurement.

Default:""
Example:20.3
depthnumber

Depth measurement.

Default:""
Example:15.2
grossWeightnumber

Gross weight.

Default:""
Example:500.5
netWeightnumber

Net weight.

Default:""
Example:450.25
activeboolean

True if the size range is active.

Default:false
Example:true
Response
{ "id": "", "code": "Range 38/43", "description": "Size range for shoes from size 38 to 43", "sizeRangeDetails": "", "widths": "", "inactiveB2b": false, "special": false, "height": 10.5, "width": 20.3, "depth": 15.2, "grossWeight": 500.5, "netWeight": 450.25, "active": true }