Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class ProductVariantMetafieldsApi extends ResourceApi
private int $productId;

private const RESOURCE_NAME = 'metafields';
private const METAFIELD_ENDPOINT = 'catalog/product/%d/variants/%d/metafields/%d';
private const METAFIELDS_ENDPOINT = 'catalog/product/%d/variants/%d/metafields';
private const METAFIELD_ENDPOINT = 'catalog/products/%d/variants/%d/metafields/%d';
private const METAFIELDS_ENDPOINT = 'catalog/products/%d/variants/%d/metafields';

public function getProductId(): int
{
Expand Down