Update Collection

Use this endpoint to update the collection name or description

HTTP Method: POST

https://api.payright.my/api/v1/merchant/collections/{collection_uuid}

Request Body

{
  "title": "NORMAL_COLLECTION_2",
  "description": "Normal Collection Description Edited"
}

Attributes

Property
Type
Description

title*

String

Title of your collection

description*

String

Description of the collection

Response

{
  "status": "ok",
  "code": 200,
  "data": {
    "title": "NORMAL_COLLECTION_2",
    "description": "Normal Collection Description Edited",
    "collection_uuid": "PyC0D7F54A90rgt",
    "status": "ACTIVE",
    "created_at": "2023-01-18T18:24:00"
  },
  "uuid": "dbd44a99-2d0f-470d-91fe-c73e8cdd1848"
}

Last updated