Update

View as Markdown
Updates a given resource. This endpoint accepts the Application API Scope only. Storefront API Scope signatures are rejected.

Authentication

x-api-keystring

Application API Scope — server-to-server, sent in the x-api-key header. See Authentication.

Path parameters

resource_public_idstringRequired

Request

This endpoint expects an object.
namestringOptional
Resource name
descriptionstringOptional
Resource description
image_urlstringOptional
Resource image URL

Response

200
public_idstringOptional
merchantstringOptional
namestringOptional
external_resource_idstringOptional
descriptionstring or nullOptional
image_urlstringOptional
createdstringOptional
last_updatedstringOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error