# Unblock ERP Link

## POST /public/v1/accounts/erp-links/{id}/unblock

>

OpenAPI:

```json
{"openapi":"3.0.1","info":{"title":"Marketplace API","version":"5.0.764-gbc924a47"},"servers":[{"url":"https://api.s1.today"}],"paths":{"/public/v1/accounts/erp-links/{id}/unblock":{"post":{"tags":["ErpLinks"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"audit":{"allOf":[{"type":"object","properties":{"created":{"allOf":[{"type":"object","properties":{"at":{"type":"string","format":"date-time","nullable":true},"by":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"audit":{"allOf":[{"type":"object","properties":{"created":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1erp-links~1{id}~1unblock/post/requestBody/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties"},"additionalProperties":false}],"nullable":true},"updated":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1erp-links~1{id}~1unblock/post/requestBody/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties"},"additionalProperties":false}],"nullable":true}},"additionalProperties":false}]},"$meta":{"allOf":[{"type":"object","properties":{"omitted":{"type":"array","items":{"type":"string"}}},"additionalProperties":false}],"nullable":true},"name":{"type":"string"},"icon":{"type":"string","nullable":true}},"additionalProperties":false}],"nullable":true}},"additionalProperties":false}],"nullable":true},"updated":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1erp-links~1{id}~1unblock/post/requestBody/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties"},"additionalProperties":false}],"nullable":true},"blocked":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1erp-links~1{id}~1unblock/post/requestBody/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties"},"additionalProperties":false}],"nullable":true},"unblocked":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1erp-links~1{id}~1unblock/post/requestBody/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties"},"additionalProperties":false}],"nullable":true}},"additionalProperties":false}]},"$meta":{"allOf":[{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1erp-links~1{id}~1unblock/post/requestBody/content/application~1json/schema/properties/audit/allOf/0/properties/created/allOf/0/properties/by/allOf/0/properties/$meta/allOf/0/properties"},"additionalProperties":false}],"nullable":true},"icon":{"type":"string","nullable":true},"buyer":{"type":"object","allOf":[{"type":"object","properties":{"id":{"type":"string"},"icon":{"type":"string","nullable":true},"name":{"type":"string","nullable":true}},"additionalProperties":false}]},"seller":{"type":"object","allOf":[{"type":"object","properties":{"id":{"type":"string"},"icon":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"name":{"type":"string"}},"additionalProperties":false}]},"name":{"type":"string"},"companyName":{"type":"string","nullable":true},"status":{"allOf":[{"enum":["Active","Blocked"],"type":"string"}]},"note":{"type":"string","nullable":true},"externalIds":{"allOf":[{"type":"object","properties":{"erpCompanyContact":{"type":"string","nullable":true},"erpCustomer":{"type":"string","nullable":true},"accountExternalId":{"type":"string","nullable":true}},"additionalProperties":false}],"nullable":true},"address":{"allOf":[{"type":"object","properties":{"addressLine1":{"type":"string","nullable":true},"addressLine2":{"type":"string","nullable":true},"postCode":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"country":{"type":"string","nullable":true}},"additionalProperties":false}],"nullable":true}},"additionalProperties":false}},"text/json":{"schema":{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1erp-links~1{id}~1unblock/post/requestBody/content/application~1json/schema/properties"},"additionalProperties":false}},"application/*+json":{"schema":{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1erp-links~1{id}~1unblock/post/requestBody/content/application~1json/schema/properties"},"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1erp-links~1{id}~1unblock/post/requestBody/content/application~1json/schema/properties"},"additionalProperties":false}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"status":{"type":"integer","format":"int32","nullable":true},"detail":{"type":"string","nullable":true},"instance":{"type":"string","nullable":true}},"additionalProperties":{}}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"type":"object","properties":{"$ref":"#/paths/~1public~1v1~1accounts~1erp-links~1{id}~1unblock/post/responses/400/content/application~1json/schema/properties"},"additionalProperties":{"$ref":"#/paths/~1public~1v1~1accounts~1erp-links~1{id}~1unblock/post/responses/400/content/application~1json/schema/additionalProperties"}}}}}}}}}}
```
