Your store's APIApps referenceAffiliates
Archive Link
PUT
/admin/links/{linkId}/archiveArchives a link for good: nothing unarchives it. Its URL still sends visitors to its page, but their arrivals are no longer recorded, so they earn it no clicks and no orders. What earlier arrivals earned stays credited to it.
Path Parameters
linkId*string
Match
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/admin/links/string/archive"{ "id": "string", "storeId": "string", "affiliateId": "string", "code": "string", "destinationPath": "string", "createdAt": "string", "updatedAt": "string", "archivedAt": "string"}