---
title: "Update goods' details"
method: PATCH
path: "/fulfillment/{countrycode}/goods/{objectId}"
tags: ["Fulfillment"]
---

# Update goods' details

`PATCH /fulfillment/{countrycode}/goods/{objectId}`

This endpoint allows modifying details of an existing goods.
Only the fields that need to be changed should be included in the request body (partial update), for example updating the name, price, or shelf life of a product.

🔸All fields are optional, but at least one field must be provided to perform an update. On success, the API returns the updated goods fields.

## Path parameters

- `countrycode` string, required
- `objectId` string, required

## Request body

- object — Request body for updating goods. Only the fields that need to be changed should be provided. At least one field must be present.
  - `goodsUnitName` string — Product name.
  - `goodsUnitFullName` string — Full product name.
  - `price` number, float — Price per unit of the product.
  - `inventExpireDays` integer, nullable — Shelf life in days or `null` if not applicable.

## Response `201`

Request successful. Goods details were updated.

- object
  - `goodsUnitName` string — Product name.
  - `goodsUnitFullName` string — Full product name.
  - `price` number, float — Price per unit of the product.
  - `inventExpireDays` integer, nullable — Shelf life in days or `null` if not applicable.

## Other responses

- `400` — Bad Request. The request has an incorrect format or invalid syntax.
- `403` — Authorization Error. Access to the resource is forbidden.
- `404` — Resource Not Found. The requested resource does not exist.
- `422` — Unprocessable Entity. The request body contains validation errors.

---

[API](https://skmtc.net/novapost/apis/api-nova-post.md) · [All operations](https://skmtc.net/novapost/apis/api-nova-post/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/novapost/api-nova-post/revisions/60e380005037/schema)
