Skip to main content

Rejection Responses

Messages sent by the API after a order was rejected

W
Written by William Oliver

Rejected orders will be blocked from our system until the issue is resolved and the order resent.

Some Common Rejection Examples:

  1. okc-rejected-message: No order lines were generated. Some products do not exist in the API

    1. The order contained a product that is invalid.

    2. The pack type or supplement may be discontinued / made inactive.

    3. The Shopify product is incorrectly mapped or not mapped to an OKC product at all.

      1. All orders must contain Shopify products that were created from syncing our system to your store.

    4. The Mapping UUID is incorrect.

  2. okc-rejected-message: Postal code is required for (Country)

    1. Missing Postal code information.

  3. okc-rejected-message:(Field) is required for (place) but was not provided.

    1. The listed filed is blank and requires a value.

  4. okc-rejected-message: '(field name)' must be a string

    1. The listed field is blank / missing information.

      1. Examples:

        1. 'consumer.first_name' must be a string

        2. 'consumer.email' must be a string

  5. okc-rejected-message: Undeliverable address

    1. The address failed a validation for being a useable address.

      1. Note: OKC does not validate addresses, but if multiple fields are missing or incorrect they may get flagged and rejected this way

      2. International addresses may flag this as well.

Did this answer your question?