Getting Started
Links
Update Link
Update an existing link.
PATCH
/
v1
/
links
/
{id}
/
edit
curl --request PATCH \
--url https://api.nomod.com/v1/links/{id}/edit \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"status": "enabled",
"title": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reference_id": "<string>",
"title": "<string>",
"url": "<string>",
"amount": "<string>",
"currency": "<string>",
"status": "enabled",
"discount": "<string>",
"service_fee": "<string>",
"allow_tip": true,
"shipping_address_required": true,
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": "<string>",
"name": "<string>",
"total_amount": "<string>",
"quantity": 2147483647,
"sku": "<string>"
}
],
"tax": "<string>",
"note": "<string>",
"taxes": [
{
"name": "<string>",
"mode": "<string>",
"mode_value": "0.000",
"value": "0.000"
}
],
"discount_percentage": 123,
"service_fee_percentage": "<string>",
"tip": "<string>",
"tip_percentage": 123,
"custom_fields": [
{
"name": "<string>",
"is_required": true
}
],
"source": "woocommerce",
"pages_url": "<string>"
}
Authorizations
Your API key. This is required by all endpoints to access our API programatically. You can view your API Key by navigating to the app settings
Path Parameters
Body
application/json
Response
200
application/json
The response is of type object
.
curl --request PATCH \
--url https://api.nomod.com/v1/links/{id}/edit \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '{
"status": "enabled",
"title": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"reference_id": "<string>",
"title": "<string>",
"url": "<string>",
"amount": "<string>",
"currency": "<string>",
"status": "enabled",
"discount": "<string>",
"service_fee": "<string>",
"allow_tip": true,
"shipping_address_required": true,
"items": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount": "<string>",
"name": "<string>",
"total_amount": "<string>",
"quantity": 2147483647,
"sku": "<string>"
}
],
"tax": "<string>",
"note": "<string>",
"taxes": [
{
"name": "<string>",
"mode": "<string>",
"mode_value": "0.000",
"value": "0.000"
}
],
"discount_percentage": 123,
"service_fee_percentage": "<string>",
"tip": "<string>",
"tip_percentage": 123,
"custom_fields": [
{
"name": "<string>",
"is_required": true
}
],
"source": "woocommerce",
"pages_url": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.