Skip to main content

Find Business Offer Metafield

API operation: Open the endpoint in Scalar

Use GET /business/{business_id}/offers/{offer_id}/metafields/{metafield_id} to retrieve one metafield from a business offer. The operation is OfferMetafield.find.

The operation requires administrator or business-manager authentication. The controller verifies that the metafield belongs to offer_id and that the offer belongs to business_id.

See List business offer metafields and Extra attributes (Metafields).

OpenAPI reference​

Operation: GET /business/{business_id}/offers/{offer_id}/metafields/{metafield_id}

Path parameters

NameTypeRequiredDescription
business_idintegerYes—
offer_idintegerYes—
metafield_idintegerYes—

Query parameters

NameTypeRequiredDescription
paramsstringNoComma-separated list of fields. It is intersected with the model’s $fillable; an empty or invalid list returns all fields.

Responses

CodeDescription
200OK (Envelope)
400Bad Request (ErrorResponse)
401Unauthorized
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference