Skip to main content
PATCH
Update business collection

Authorizations

Authorization
string
header
required

Polymorfa organization key (pmfa_ prefix), project token (pmfa_pt_ prefix) where supported, or short-lived client token (pmfa_ct_ prefix). Organization and project keys may be personal or service-account owned and enforce selected action scopes. Organization keys cover the team and its projects; project tokens stay inside one project. Client tokens stay inside their live project and session and enforce their client rules.

Path Parameters

session
string
required

Identifier of the connected Polymorfa session.

collectionId
string
required

Identifier for the collection.

Value constraints

Maximum string length: 256

Body

application/json
name
string

Human-readable name for this resource.

Value constraints

Required string length: 1 - 256
addProductIds
string[]

Add product ids associated with this native business collection update request.

Value constraints

Maximum array length: 100
Required string length: 1 - 256
removeProductIds
string[]

Remove product ids associated with this native business collection update request.

Value constraints

Maximum array length: 100
Required string length: 1 - 256

Response

Collection updated

success
enum<boolean>
required

Whether the request succeeded.

Allowed values

Available options:
true
data
object
required

Structured data carried by this object.