Update a product

Update a product

ℹ️

This endpoint requires the following scope: products:all

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
Body Params
string
string

Product description. Maximum 5,000 characters.

string

The unique external reference assigned to this Product, assigned on creation either by you or Pennylane.

string
^-?\d+(\.\d+)?$

Product price without taxes

string
enum

Product VAT rate. A 20% VAT in France is FR_200.

string

Product unit

string
enum
Defaults to EUR
string
string | null
^(\d{8}|\d{13})$

Product EAN code, 8 or 13 digits. Omit the key to keep the current code; send null to remove it.

Requires the purchase product catalog in the company plan and the advanced products and services catalog
module; check products_and_services_catalog on GET /api/external/v2/company/features. Otherwise, the request returns 403.

int64
string
enum

Resolves the product's ledger account to the company's goods or services account.

When provided together with ledger_account_id, both must refer to the same account. If they do not match, the request returns 422.

Allowed:
custom_fields
array of objects
custom_fields
Headers
string

Numeric ID of the company to act on. Required when authenticating with a firm token. Ignored when the token is already bound to a company.

Responses

414

URI Too Long: the request URL exceeds the maximum length. Shorten the query string, for example by sending fewer values per query parameter and splitting them across several requests.

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json