Repzo API - Price List Item (1.0.0)

Download OpenAPI specification:Download

OpenAPI specification for Repzo Price List Item endpoints.

Find price list items

query Parameters
object

Query parameters for filtering price list items

Responses

Response samples

Content type
application/json
{
  • "data": [
    ],
  • "total_result": 0,
  • "current_count": 0,
  • "total_pages": 0,
  • "current_page": 0,
  • "per_page": 0,
  • "first_page_url": "string",
  • "last_page_url": "string",
  • "next_page_url": "string",
  • "prev_page_url": "string",
  • "path": "string"
}

Create a price list item

Request Body schema: application/json
product_id
required
string

ID of the product

variant_id
required
string

ID of the variant

pricelist_id
required
string

ID of the price list

price
required
number

Price value

object

Integration metadata

disabled
boolean

Whether the price list item is disabled

company_namespace
Array of strings

Company namespaces

Responses

Request samples

Content type
application/json
{
  • "product_id": "string",
  • "variant_id": "string",
  • "pricelist_id": "string",
  • "price": 0,
  • "integration_meta": { },
  • "disabled": true,
  • "company_namespace": [
    ]
}

Response samples

Content type
application/json
{
  • "_id": "string",
  • "product_id": "string",
  • "variant_id": "string",
  • "pricelist_id": "string",
  • "price": 0,
  • "disabled": true,
  • "integration_meta": { },
  • "company_namespace": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "__v": 0
}

Get a price list item by ID

path Parameters
id
required
string

Responses

Response samples

Content type
application/json
{
  • "_id": "string",
  • "product_id": "string",
  • "variant_id": "string",
  • "pricelist_id": "string",
  • "price": 0,
  • "disabled": true,
  • "integration_meta": { },
  • "company_namespace": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "__v": 0
}

Update a price list item

path Parameters
id
required
string
Request Body schema: application/json
product_id
string

ID of the product

variant_id
string

ID of the variant

pricelist_id
string

ID of the price list

price
number

Price value

object

Integration metadata

disabled
boolean

Whether the price list item is disabled

company_namespace
Array of strings

Company namespaces

_id
string

Unique identifier for the price list item

createdAt
string <date-time>

Creation timestamp

updatedAt
string <date-time>

Last update timestamp

__v
number

Version number

Responses

Request samples

Content type
application/json
{
  • "product_id": "string",
  • "variant_id": "string",
  • "pricelist_id": "string",
  • "price": 0,
  • "integration_meta": { },
  • "disabled": true,
  • "company_namespace": [
    ],
  • "_id": "string",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "__v": 0
}

Response samples

Content type
application/json
{
  • "_id": "string",
  • "product_id": "string",
  • "variant_id": "string",
  • "pricelist_id": "string",
  • "price": 0,
  • "disabled": true,
  • "integration_meta": { },
  • "company_namespace": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "__v": 0
}

Remove a price list item

path Parameters
id
required
string

Responses

Response samples

Content type
application/json
{
  • "_id": "string",
  • "product_id": "string",
  • "variant_id": "string",
  • "pricelist_id": "string",
  • "price": 0,
  • "disabled": true,
  • "integration_meta": { },
  • "company_namespace": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "__v": 0
}