---
search:
  tags:
    - Surfaces
    - POST
seo:
  description: >-
    Moves enrollment from configured into verifying. Only… Reference for the
    POST /stores/{store_id}/surfaces/{surface_id}/submit endpoint in the Sarvex
    V1 API.
sidebar:
  label: Record that the merchant completed the surface's external steps
  badge: POST
title: Record that the merchant completed the surface's external steps
type: openapi-operation
---
Moves enrollment from `configured` into `verifying`. Only meaningful for a
surface whose descriptor declares `external_steps`; a surface without them
moves through automatically.

`POST /stores/{store_id}/surfaces/{surface_id}/submit`

**Responses**

- `200` — Enrollment state after submission.
- `404` — Resource not found within the caller's tenant.
- `409` — Store is not UCP active, or the transition is not legal from the current state.

Response example, 200:

```json
{
  "surface_id": "string",
  "store_id": "string",
  "state": "available",
  "prerequisites": [
    {
      "check_id": "string",
      "label_key": "string",
      "passed": true,
      "reason": "string",
      "remediation_key": "string",
      "remediation_url": "http://example.com",
      "evaluated_at": "2019-08-24T14:15:22Z"
    }
  ],
  "artifacts": [
    {
      "artifact_id": "string",
      "label_key": "string",
      "url": "http://example.com",
      "detail": {
        "property1": "string",
        "property2": "string"
      },
      "generated_at": "2019-08-24T14:15:22Z"
    }
  ],
  "config": {
    "property1": "string",
    "property2": "string"
  },
  "enrolled_at": "2019-08-24T14:15:22Z",
  "last_verified_at": "2019-08-24T14:15:22Z",
  "suspension_reason": "string",
  "updated_at": "2019-08-24T14:15:22Z",
  "descriptor": {
    "surface_id": "string",
    "display_name_key": "string",
    "description_key": "string",
    "protocol": "ucp",
    "required_connectors": [
      "commerce"
    ],
    "required_capabilities": [
      "string"
    ],
    "prerequisite_checks": [
      "string"
    ],
    "artifacts": [
      "string"
    ],
    "config_schema": [
      {
        "key": "string",
        "type": "text",
        "label_key": "string",
        "help_key": "string",
        "required": true
      }
    ],
    "external_steps": [
      {
        "step_id": "string",
        "label_key": "string",
        "url": "http://example.com",
        "owner": "merchant"
      }
    ],
    "verification_signal": "string",
    "auto_enroll": true
  },
  "blocked": true,
  "blocked_reason": "string"
}
```

Response example, 404:

```json
{
  "error": {
    "code": "not_found",
    "message": "Resource not found.",
    "details": null
  }
}
```
