Greif Product Attribute API
The product_attribute API from Greif — 2 operation(s) for product_attribute.
The product_attribute API from Greif — 2 operation(s) for product_attribute.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/greif-product-attribute-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Greif WordPress REST API (wp/v2) Product Attribute API
version: wp/v2
description: The WordPress REST API namespace `wp/v2` as served by Greif at https://www.greif.com/wp-json/.
contact:
name: Greif
url: https://www.greif.com/contact/
termsOfService: https://www.greif.com/terms-and-conditions/
servers:
- url: https://www.greif.com/wp-json
description: Greif corporate site WordPress REST API
tags:
- name: product attribute
paths:
/wp/v2/product_attribute:
get:
operationId: getWpV2ProductAttribute
summary: GET /wp/v2/product_attribute
tags:
- product attribute
parameters:
- name: context
in: query
required: false
schema:
type: string
enum:
- view
- embed
- edit
default: view
description: Scope under which the request is made; determines fields present in response.
- name: page
in: query
required: false
schema:
type: integer
default: 1
description: Current page of the collection.
- name: per_page
in: query
required: false
schema:
type: integer
default: 10
description: Maximum number of items to be returned in result set.
- name: search
in: query
required: false
schema:
type: string
description: Limit results to those matching a string.
- name: exclude
in: query
required: false
schema:
type: array
default: []
items:
type: integer
description: Ensure result set excludes specific IDs.
- name: include
in: query
required: false
schema:
type: array
default: []
items:
type: integer
description: Limit result set to specific IDs.
- name: order
in: query
required: false
schema:
type: string
enum:
- asc
- desc
default: asc
description: Order sort attribute ascending or descending.
- name: orderby
in: query
required: false
schema:
type: string
enum:
- id
- include
- name
- slug
- include_slugs
- term_group
- description
- count
default: name
description: Sort collection by term attribute.
- name: hide_empty
in: query
required: false
schema:
type: boolean
default: false
description: Whether to hide terms not assigned to any posts.
- name: parent
in: query
required: false
schema:
type: integer
description: Limit result set to terms assigned to a specific parent.
- name: post
in: query
required: false
schema:
type: integer
description: Limit result set to terms assigned to a specific post.
- name: slug
in: query
required: false
schema:
type: array
items:
type: string
description: Limit result set to terms with one or more specific slugs.
responses:
'200':
description: Success
headers:
X-WP-Total:
description: Total number of matching records (collection routes)
schema:
type: integer
X-WP-TotalPages:
description: Total number of pages (collection routes)
schema:
type: integer
Link:
description: RFC 8288 pagination links (rel=next / rel=prev)
schema:
type: string
X-Robots-Tag:
description: noindex — observed on every wp/v2 response from www.greif.com
schema:
type: string
content:
application/json:
schema: {}
'400':
description: rest_invalid_param — a parameter failed validation
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'401':
description: rest_forbidden / rest_cannot_access — authentication required for this route
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'403':
description: rest_forbidden / rest_cannot_* — authenticated but not permitted
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: rest_no_route / rest_post_invalid_id — route or resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
post:
operationId: createWpV2ProductAttribute
summary: POST /wp/v2/product_attribute
tags:
- product attribute
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
description:
type: string
description: HTML description of the term.
name:
type: string
description: HTML title for the term.
slug:
type: string
description: An alphanumeric identifier for the term unique to its type.
parent:
type: integer
description: The parent term ID.
meta:
type: object
description: Meta fields.
responses:
'200':
description: Success
headers:
X-WP-Total:
description: Total number of matching records (collection routes)
schema:
type: integer
X-WP-TotalPages:
description: Total number of pages (collection routes)
schema:
type: integer
Link:
description: RFC 8288 pagination links (rel=next / rel=prev)
schema:
type: string
X-Robots-Tag:
description: noindex — observed on every wp/v2 response from www.greif.com
schema:
type: string
content:
application/json:
schema: {}
'400':
description: rest_invalid_param — a parameter failed validation
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'401':
description: rest_forbidden / rest_cannot_access — authentication required for this route
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'403':
description: rest_forbidden / rest_cannot_* — authenticated but not permitted
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: rest_no_route / rest_post_invalid_id — route or resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/product_attribute/{id}:
get:
operationId: getWpV2ProductAttributeById
summary: GET /wp/v2/product_attribute/{id}
tags:
- product attribute
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: context
in: query
required: false
schema:
type: string
enum:
- view
- embed
- edit
default: view
description: Scope under which the request is made; determines fields present in response.
responses:
'200':
description: Success
headers:
X-WP-Total:
description: Total number of matching records (collection routes)
schema:
type: integer
X-WP-TotalPages:
description: Total number of pages (collection routes)
schema:
type: integer
Link:
description: RFC 8288 pagination links (rel=next / rel=prev)
schema:
type: string
X-Robots-Tag:
description: noindex — observed on every wp/v2 response from www.greif.com
schema:
type: string
content:
application/json:
schema: {}
'400':
description: rest_invalid_param — a parameter failed validation
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'401':
description: rest_forbidden / rest_cannot_access — authentication required for this route
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'403':
description: rest_forbidden / rest_cannot_* — authenticated but not permitted
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: rest_no_route / rest_post_invalid_id — route or resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
post:
operationId: createWpV2ProductAttributeById
summary: POST /wp/v2/product_attribute/{id}
tags:
- product attribute
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
description:
type: string
description: HTML description of the term.
name:
type: string
description: HTML title for the term.
slug:
type: string
description: An alphanumeric identifier for the term unique to its type.
parent:
type: integer
description: The parent term ID.
meta:
type: object
description: Meta fields.
responses:
'200':
description: Success
headers:
X-WP-Total:
description: Total number of matching records (collection routes)
schema:
type: integer
X-WP-TotalPages:
description: Total number of pages (collection routes)
schema:
type: integer
Link:
description: RFC 8288 pagination links (rel=next / rel=prev)
schema:
type: string
X-Robots-Tag:
description: noindex — observed on every wp/v2 response from www.greif.com
schema:
type: string
content:
application/json:
schema: {}
'400':
description: rest_invalid_param — a parameter failed validation
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'401':
description: rest_forbidden / rest_cannot_access — authentication required for this route
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'403':
description: rest_forbidden / rest_cannot_* — authenticated but not permitted
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: rest_no_route / rest_post_invalid_id — route or resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
put:
operationId: replaceWpV2ProductAttributeById
summary: PUT /wp/v2/product_attribute/{id}
tags:
- product attribute
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
description:
type: string
description: HTML description of the term.
name:
type: string
description: HTML title for the term.
slug:
type: string
description: An alphanumeric identifier for the term unique to its type.
parent:
type: integer
description: The parent term ID.
meta:
type: object
description: Meta fields.
responses:
'200':
description: Success
headers:
X-WP-Total:
description: Total number of matching records (collection routes)
schema:
type: integer
X-WP-TotalPages:
description: Total number of pages (collection routes)
schema:
type: integer
Link:
description: RFC 8288 pagination links (rel=next / rel=prev)
schema:
type: string
X-Robots-Tag:
description: noindex — observed on every wp/v2 response from www.greif.com
schema:
type: string
content:
application/json:
schema: {}
'400':
description: rest_invalid_param — a parameter failed validation
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'401':
description: rest_forbidden / rest_cannot_access — authentication required for this route
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'403':
description: rest_forbidden / rest_cannot_* — authenticated but not permitted
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: rest_no_route / rest_post_invalid_id — route or resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
patch:
operationId: updateWpV2ProductAttributeById
summary: PATCH /wp/v2/product_attribute/{id}
tags:
- product attribute
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
description:
type: string
description: HTML description of the term.
name:
type: string
description: HTML title for the term.
slug:
type: string
description: An alphanumeric identifier for the term unique to its type.
parent:
type: integer
description: The parent term ID.
meta:
type: object
description: Meta fields.
responses:
'200':
description: Success
headers:
X-WP-Total:
description: Total number of matching records (collection routes)
schema:
type: integer
X-WP-TotalPages:
description: Total number of pages (collection routes)
schema:
type: integer
Link:
description: RFC 8288 pagination links (rel=next / rel=prev)
schema:
type: string
X-Robots-Tag:
description: noindex — observed on every wp/v2 response from www.greif.com
schema:
type: string
content:
application/json:
schema: {}
'400':
description: rest_invalid_param — a parameter failed validation
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'401':
description: rest_forbidden / rest_cannot_access — authentication required for this route
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'403':
description: rest_forbidden / rest_cannot_* — authenticated but not permitted
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: rest_no_route / rest_post_invalid_id — route or resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
delete:
operationId: deleteWpV2ProductAttributeById
summary: DELETE /wp/v2/product_attribute/{id}
tags:
- product attribute
parameters:
- name: id
in: path
required: true
schema:
type: string
- name: force
in: query
required: false
schema:
type: boolean
default: false
description: Required to be true, as terms do not support trashing.
responses:
'200':
description: Success
headers:
X-WP-Total:
description: Total number of matching records (collection routes)
schema:
type: integer
X-WP-TotalPages:
description: Total number of pages (collection routes)
schema:
type: integer
Link:
description: RFC 8288 pagination links (rel=next / rel=prev)
schema:
type: string
X-Robots-Tag:
description: noindex — observed on every wp/v2 response from www.greif.com
schema:
type: string
content:
application/json:
schema: {}
'400':
description: rest_invalid_param — a parameter failed validation
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'401':
description: rest_forbidden / rest_cannot_access — authentication required for this route
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'403':
description: rest_forbidden / rest_cannot_* — authenticated but not permitted
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: rest_no_route / rest_post_invalid_id — route or resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
components:
schemas:
WPError:
type: object
description: The WordPress REST error envelope, observed verbatim on https://www.greif.com/wp-json/wp/v2/settings (HTTP 401, 2026-09-12). Not RFC 9457 problem+json.
properties:
code:
type: string
examples:
- rest_forbidden
message:
type: string
examples:
- Sorry, you are not allowed to do that.
data:
type: object
properties:
status:
type: integer
examples:
- 401
required:
- code
- message
- data
securitySchemes:
basicAuth:
type: http
scheme: basic
description: WordPress application passwords, advertised by the site's own discovery document at https://www.greif.com/wp-json/ (authentication.application-passwords.endpoints.authorization = https://www.greif.com/wp-admin/authorize-application.php). Issued only to WordPress user accounts on the Greif site; not available to third parties.
cookieNonce:
type: apiKey
in: header
name: X-WP-Nonce
description: WordPress logged-in cookie plus an X-WP-Nonce header — the in-browser authentication path for the site's own editors.
externalDocs:
description: Upstream WordPress REST API handbook (not authored by Greif)
url: https://developer.wordpress.org/rest-api/
x-generated-from: https://www.greif.com/wp-json/ (WordPress REST route-discovery document, HTTP 200, 2026-09-12)
x-generated-by: API Evangelist enrichment pipeline — mechanical transform of the provider-served route index; no hand-authored operations