Shopware 6.7.8.0 sales_channel_api_context
Persisted API context/session data for headless Sales Channel API consumers.
| Column | Type | Nullable | Additional |
| token | varchar(255) | NO | Primary Key |
| payload | json | NO | |
| sales_channel_id | binary(16) | YES | Index
Foreign Key → sales_channel.id |
| customer_id | binary(16) | YES | Index
Foreign Key → customer.id |
| updated_at | datetime | NO | Default: CURRENT_TIMESTAMP, DEFAULT_GENERATED on update CURRENT_TIMESTAMP |
| Index Name | Columns | Unique |
| fk.sales_channel_api_context.customer_id | customer_id | No |
| PRIMARY | token | Yes |
| uniq.sales_channel_api_context.sales_channel_id_customer_id | sales_channel_id,customer_id | Yes |
Relations (from this table)
2 relations