Delete a price code
Authentication
Application API Scope — server-to-server, sent in the x-api-key header. See Authentication.
Application API Scope — server-to-server, sent in the x-api-key header. See Authentication.
Removes a price code from a product and returns 204 with an empty body. Orders and subscriptions that resolve to the removed price code fall back to the product’s base price. The product’s other price codes, and the same price code on other products, are left in place.
Returns 404 when the product has no such price code, so deleting the same price code twice returns 204 and then 404. Deleting a price code requires Application API Scope. A Storefront API Scope request returns 403.
Price code to address. Surrounding whitespace is trimmed and matching is case-insensitive. URL-encode any character that is not safe in a path segment; + is read as a literal +, not as a space. A price code containing / cannot be addressed, which is why it cannot be created.