Price Types

Schema #

The schema defines all the fields that exist within a price types record. Any response from these endpoints can be expected to contain the fields below unless the `_filter` query parameter is used or the schema field only appears in a specific context.

name
string

The title for the price type.

Read only

Context: embed, view

description
string

The description for the price type.

Read only

Context: embed, view

slug
string

An alphanumeric identifier for the price type.

Read only

Context: embed, view

Retrieve a Price Types #

Definition & Example Request #

GET /ldlms/v2/price-types

Query this endpoint to retrieve a specific price types record.

$ curl https://example.com/wp-json/ldlms/v2/price-types

Sample Response #


		

Arguments #

context

Scope under which the request is made; determines fields present in response.

Default: view

One of: view, embed

Retrieve a Price Types #

Definition & Example Request #

GET /ldlms/v2/price-types/<slug>

Query this endpoint to retrieve a specific price types record.

$ curl https://example.com/wp-json/ldlms/v2/price-types/<slug>

Sample Response #


		

Arguments #

slug

An alphanumeric identifier for the price type.

context

Scope under which the request is made; determines fields present in response.

Default: view

One of: view, embed