Update Custom Links
6.2 Update Custom Links
Request
Method
URL
PUT
/customlink/v1/products/{magic_link_id}
Copy
{
"name": "Updated Magic Link Name",
"description": "Magic Link Description",
"channel": "SomeChannel",
"orderId": 12,
"conversationId": "1",
"externalId": "1",
"status": "Active",
"price": 29.99,
"currency": "USD",
"enabledInstallments": "[1,2]",
"stock": 50,
"image": "image_url.jpg",
"url": null,
"image_url": null,
"is_active": true,
"is_deleted": false,
"merchant_id": 1,
"link_id": null,
"soldCount": 0,
"token": null,
"custom_link": false,
"custom_token": null
}
Response
Status
Response
200
{
"data": {
"id": 162,
"name": "Updated Magic Link Name",
"description": "Magic Link Description",
"orderId": "12",
"conversationId": "1",
"externalId": "1",
"status": "Active",
"price": 29.99,
"currency": "USD",
"stock": 50,
"soldCount": 0,
"token": null,
"enabledInstallments": [],
"url": null,
"imageUrl": null,
"channel": "SomeChannel",
"custom_token": "http://tinyurl.com/yw8amt84"
}
}
403
400
400
401
401
500
Last updated