Heads up, our devs are blazing ahead—docs are catching up, so some features might not be fully documented yet.

ProductWarranty

ProductWarranty

List product warranty terms

get

List product warranty terms.

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUM Description
ASC Sort in ascending order
DESC Sort in descending order
Possible values:
Responses
200
Example response
application/json
get
GET /v2/tenants/{tenantUid}/product-warranties HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Example response

{
  "items": [
    {
      "productWarrantyUid": "text",
      "name": "text",
      "terms": "text",
      "createdBy": "text",
      "createdAt": "2025-07-30T18:16:18.240Z",
      "lastModifiedBy": "text",
      "lastModifiedAt": "2025-07-30T18:16:18.240Z"
    }
  ],
  "paging": {
    "pageNumber": 1,
    "pageSize": 1,
    "totalCount": 1
  }
}

Create product warranty terms

post

Create new product warranty terms.

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
productWarrantyUidstringOptionalPattern: ^[A-Za-z0-9-_]*
namestringOptional
termsstringRequired
Responses
201
Example response
application/json
post
POST /v2/tenants/{tenantUid}/product-warranties HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 58

{
  "productWarrantyUid": "text",
  "name": "text",
  "terms": "text"
}
201

Example response

{
  "productWarrantyUid": "text",
  "name": "text",
  "terms": "text",
  "createdBy": "text",
  "createdAt": "2025-07-30T18:16:18.240Z",
  "lastModifiedBy": "text",
  "lastModifiedAt": "2025-07-30T18:16:18.240Z"
}

Get product warranty terms

get

Get a product warranty terms details.

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
productWarrantyUidstringRequired

Reference to product warranty terms

Responses
200
Example response
application/json
get
GET /v2/tenants/{tenantUid}/product-warranties/{productWarrantyUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

Example response

{
  "productWarrantyUid": "text",
  "name": "text",
  "terms": "text",
  "createdBy": "text",
  "createdAt": "2025-07-30T18:16:18.240Z",
  "lastModifiedBy": "text",
  "lastModifiedAt": "2025-07-30T18:16:18.240Z"
}

Update product warranty terms

put

Update a product warranty terms.

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
productWarrantyUidstringRequired

Reference to product warranty terms

Body
namestringOptional
termsstringOptional
Responses
200
Example response
application/json
put
PUT /v2/tenants/{tenantUid}/product-warranties/{productWarrantyUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 30

{
  "name": "text",
  "terms": "text"
}
200

Example response

{
  "productWarrantyUid": "text",
  "name": "text",
  "terms": "text",
  "createdBy": "text",
  "createdAt": "2025-07-30T18:16:18.240Z",
  "lastModifiedBy": "text",
  "lastModifiedAt": "2025-07-30T18:16:18.240Z"
}

Delete product warranty terms

delete

Delete a product warranty terms.

Authorizations
Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
productWarrantyUidstringRequired

Reference to product warranty terms

Responses
204
No Content
delete
DELETE /v2/tenants/{tenantUid}/product-warranties/{productWarrantyUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
204

No Content

No content

Was this helpful?